nerate incorrect code
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: macracan at yahoo dot com
GCC build triplet: GNU/linu
--- Comment #1 from macracan at yahoo dot com 2007-10-01 17:05 ---
Created an attachment (id=14280)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14280&action=view)
source file and the result of 'gcc -v -save-temps -O3 aa.cpp 2>stderr'
--
http://
--- Comment #4 from macracan at yahoo dot com 2007-10-01 17:43 ---
(In reply to comment #3)
> For once a real floating point bug. In this code
> double p = 0.422244 * f[a.e];
> if (f[0] < p)
>
> with a.e=1, f[1]=0.285433, we should calculate p=0.285433. Sinc
--- Comment #5 from macracan at yahoo dot com 2007-10-01 17:43 ---
*** This bug has been marked as a duplicate of 323 ***
--
macracan at yahoo dot com changed:
What|Removed |Added
--- Comment #99 from macracan at yahoo dot com 2007-10-01 17:43 ---
*** Bug 33611 has been marked as a duplicate of this bug. ***
--
macracan at yahoo dot com changed:
What|Removed |Added