https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84262
--- Comment #2 from Serguei Kolos <Serguei.Kolos at cern dot ch> --- If you read my original message through the end you should have noticed that I have admitted that already. My question was different: Is it normal that the same code (seemingly bogus) compiles fine with optimize tags and gives errors without them?