[Bug tree-optimization/123864] [13/14/15/16 Regression] wrong code with __builtin_*_overflow() at -O2 and above

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 29 07:43:35 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123864

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 63524
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63524&action=edit
Testcase without function arguments

This one EVRP is looking to be causing the issue. And -fwrapv does not change
the behavior.


More information about the Gcc-bugs mailing list