[Bug c++/33611] New: Optimizations generate incorrect code

2007-10-01 Thread macracan at yahoo dot com
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

[Bug c++/33611] Optimizations generate incorrect code

2007-10-01 Thread macracan at yahoo dot com
--- 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://

[Bug middle-end/33611] [4.1/4.2/4.3 regression] Optimizations generate incorrect code

2007-10-01 Thread macracan at yahoo dot com
--- 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

[Bug middle-end/33611] [4.1/4.2/4.3 regression] Optimizations generate incorrect code

2007-10-01 Thread macracan at yahoo dot com
--- 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

[Bug rtl-optimization/323] optimized code gives strange floating point results

2007-10-01 Thread macracan at yahoo dot com
--- 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