http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54554 --- Comment #9 from Dominik Muth <dominik.muth at gmx dot de> --- Please note that in Bug 60791 no warning is given even with -O3 (except when using a legacy version of gcc).