[Bug middle-end/31878] Spurious warnings with -Wreturn-type due to not performing CCP/VRP in the front-end

sabre at nondot dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 30 01:46:00 GMT 2009



------- Comment #10 from sabre at nondot dot org  2009-12-30 01:46 -------
Yes, clang warns:
$ clang t.c
t.c:7:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31878



More information about the Gcc-bugs mailing list