From nobody@FreeBSD.org  Wed Nov 21 19:16:51 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DABD216A41A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2007 19:16:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 6C80513C43E
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2007 19:16:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lALJGnhq088816
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Nov 2007 19:16:49 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id lALJGnaD088802;
	Wed, 21 Nov 2007 19:16:49 GMT
	(envelope-from nobody)
Message-Id: <200711211916.lALJGnaD088802@www.freebsd.org>
Date: Wed, 21 Nov 2007 19:16:49 GMT
From: Vaclav Haisman <v.haisman@sh.cvut.cz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: GCC bug with abs()
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118188
>Category:       gnu
>Synopsis:       gcc(1) bug with abs()
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 21 19:20:02 UTC 2007
>Closed-Date:    Fri Dec 17 13:41:13 UTC 2010
>Last-Modified:  Fri Dec 17 13:41:13 UTC 2010
>Originator:     Vaclav Haisman
>Release:        6.2
>Organization:
SU SH
>Environment:
FreeBSD shell.sh.cvut.cz 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Aug 14 08:56:49 CEST 2007     root@logout.sh.cvut.cz:/usr/obj/usr/src/sys/SHELL-SMP  i386

>Description:
There is GCC bug that affects certain uses of abs():
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34130>.
>How-To-Repeat:
The test case is in the linked PR.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->kib 
Responsible-Changed-By: remko 
Responsible-Changed-When: Fri Nov 23 12:37:09 UTC 2007 
Responsible-Changed-Why:  
HEy , this might be something for you? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118188 
Responsible-Changed-From-To: kib->kan 
Responsible-Changed-By: remko 
Responsible-Changed-When: Fri Nov 23 13:50:25 UTC 2007 
Responsible-Changed-Why:  
Reassign to kan, he did the last vendor import of the gcc toolkit 
sorry kib for the confusion! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118188 
Responsible-Changed-From-To: kan->remko 
Responsible-Changed-By: kan 
Responsible-Changed-When: Fri Nov 23 16:53:01 UTC 2007 
Responsible-Changed-Why:  
As stated before, I have no time nor inclination to care for GCC anymore 
and next GCC import will certainly not be done by me. 

obrien  is probably the person who might want to take care of this. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=118188 
Responsible-Changed-From-To: remko->re 
Responsible-Changed-By: remko 
Responsible-Changed-When: Fri Nov 23 17:44:46 UTC 2007 
Responsible-Changed-Why:  
Release Engineering team, please have a look at this ticket.. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118188 
Responsible-Changed-From-To: re->obrien 
Responsible-Changed-By: obrien 
Responsible-Changed-When: Sat Dec 8 00:01:48 UTC 2007 
Responsible-Changed-Why:  
shepard this bug (at least for now) 
There are licensing issues with this issue that I have been working on. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118188 
State-Changed-From-To: open->feedback 
State-Changed-By: arundel 
State-Changed-When: Thu Aug 26 12:03:25 UTC 2010 
State-Changed-Why:  
What exactly are the legal issues with this PR? The fix has been backported into 
branches/gcc-4_1-branch and released under the GPLv2 license. So it should be 
possible to import it into the FreeBSD source tree. 
Or am I wrong and the fact that this code has been published under GPLv2 as well 
as under GPLv3 bastardised it? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118188 
State-Changed-From-To: feedback->closed 
State-Changed-By: arundel 
State-Changed-When: Fri Dec 17 13:37:20 UTC 2010 
State-Changed-Why:  
Fixed in stable/7 (r174603) and stable/8 (174531). 
I also verified that there has not been a regression in CURRENT (r216368). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118188 
>Unformatted:
