https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64554 --- Comment #5 from charles at kde dot org --- No you're right. I could add, though, that the compiler should have said something. Also, why did it compile just fine with -O0?