This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/10232: else clause is executed gratuitously
- From: geoffk at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, p dot van-hoof at qub dot ac dot uk
- Date: 27 Mar 2003 00:59:24 -0000
- Subject: Re: optimization/10232: else clause is executed gratuitously
- Reply-to: geoffk at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, p dot van-hoof at qub dot ac dot uk, gcc-gnats at gcc dot gnu dot org
Synopsis: else clause is executed gratuitously
State-Changed-From-To: open->closed
State-Changed-By: geoffk
State-Changed-When: Thu Mar 27 00:59:24 2003
State-Changed-Why:
Works as designed in 3.3. -ffast-math in 3.3 includes -fno-trapping-math, which does:
Compile code assuming that floating-point operations cannot
generate user-visible traps.
Crashing is 'user-visible', so if you want to crash on traps then you should not use -fno-trapping-math.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10232