https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65182
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED CC| |msebor at gcc dot gnu.org --- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> --- With -O0 both the test case in comment #0 and the one in comment #2 have been diagnosed since sometime between r138836 and r138835 (GCC 4.4) so I'm not sure how to explain that the bug is reported for Version 4.9.2. (With -O1 both test cases have been diagnosed as far back as GCC 4.1.) Let me resolve this and add the test case.