https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102498
--- Comment #7 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> --- (In reply to Andrew Pinski from comment #6) > Here is a testcase which shows it can be reproduced all the back to GCC > 4.1.2 even: [...] > f(0); > } OK, with "return" before "f(0);".