[Bug c++/65273] Incorrect output in SIMPLE program compiled from high version gcc with O2
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 2 04:25:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65273
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Why do you think this is a bug when you do a multiplication and then an
addition which will always be positive if there was no such thing as an
overflow. Note overflow for signed intergers is undefined in c/c++.
More information about the Gcc-bugs
mailing list