https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61118
Hervé Codina <herve.codina at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |herve.codina at gmail dot com --- Comment #5 from Hervé Codina <herve.codina at gmail dot com> --- Same problem using Tavian attached source file on gcc 4.9.3 and 5.2.0. Note that the problem appears when optimization is turned on (flag -O1 or more) Without optimization, no warning.