c-decl.c (finish_function): Only warn about missing return statement with -Wreturn...
authorJason Merrill <jason@redhat.com>
Thu, 28 Feb 2002 13:30:04 +0000 (08:30 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 28 Feb 2002 13:30:04 +0000 (08:30 -0500)
commit46cfb1010def3669407095b58a1ef83ad90acf62
treead97c2c9c6937f818499e1e71ba0ae8c21869572
parent022dcc46051ffd0114ac3382cc7e50928f17d995
c-decl.c (finish_function): Only warn about missing return statement with -Wreturn-type.

        * c-decl.c (finish_function): Only warn about missing return
        statement with -Wreturn-type.
        * cp/decl.c (finish_function): Only warn about missing return
        statement with -Wreturn-type.

From-SVN: r50132
gcc/ChangeLog
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.old-deja/g++.other/crash25.C