[Bug c++/71753] Clamp function does not work with O3 optimization
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 4 10:05:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71753
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Obvious integer overflow. Can use -fsantize=undefined to catch it with both gcc
and clang/llvm. Closing as invalid.
More information about the Gcc-bugs
mailing list