[Bug c++/115808] Different behavior with optimizations enabled and disabled.
linuxnyasha at tutanota dot com
gcc-bugzilla@gcc.gnu.org
Sun Jul 7 02:41:26 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115808
linuxnyasha at tutanota dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #8 from linuxnyasha at tutanota dot com ---
Yes, you are right. And even now it can be fixed using __builtin_constant_p.
More information about the Gcc-bugs
mailing list