http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56767
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-28 17:39:38 UTC --- GCC clearly warns you about this: x.c: In function ‘round2’: x.c:10:1: warning: control reaches end of non-void function [-Wreturn-type] This is why before creating the bug report you were told: "Before reporting that GCC compiles your code incorrectly, compile it with gcc -Wall -Wextra and see whether this shows anything wrong with your code."