https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87043 --- Comment #2 from Peter Vitt <pvitt at posteo dot de> --- Oh, I see your point. But then still the question is why this warning is not shown when compiling with -Og.