This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/23109] [4.1 Regression] compiler generates wrong code leading to spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math)



------- Comment #14 from bonzini at gcc dot gnu dot org  2005-11-16 14:46 -------
I have little hope of seeing this reviewed before the branch.  But it should be
put in 4.2 very early so that we backport it well before 4.1.0 is released.

BTW I think that 23948 and 24123 are way more severe than 23109 even though
this one is a wrong code bug.  These three bugs are three almost-showstoppers,
and are actually different manifestations of the same basic flaw (recip should
insert temporaries near the uses, not near the defs).  PR23948 makes
-ffast-math unusable in C++, and PR24123 generates really abysmal code (20x
slower!).

Paolo


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23109


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]