https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120801
Oskari Alaranta <oskari.alaranta at bananymous dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Oskari Alaranta <oskari.alaranta at bananymous dot com> --- Sorry for the amount of messages, the actual bug I'm looking for is happening in C++ and does not seem to affect C. Compilation with -O0 is probably just failing because the compiler cannot "prove" that the value is actually a constant without optimizations. I'll close this and create an issue with proper details.