[Bug c++/90955] Wrong optimization: erroneous sum of compile-time constants
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90955 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---
[Bug c++/90955] Wrong optimization: erroneous sum of compile-time constants
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90955 --- Comment #1 from Andrew Pinski --- Yes this is one of the most obvious violations of aliasing rules. Note the strict alias warnings in recent versions been removed as they providing too many false positives. Use either -fno-strict-aliasing o