[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/26000] cast from int to float violates C++ standard in non-optimized mode




------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-28 03:56 -------
this is a dup of bug 323.  The issue is more complex than you think, even
though in this case you get the same answer for the optimized case and not for
the unoptimized case.  Using -ffloat-store will get you a zero for the
unoptimized case.

*** This bug has been marked as a duplicate of 323 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: