OSDN Git Service

* c-decl.c (finish_function): Only warn about missing return
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Feb 2002 13:30:04 +0000 (13:30 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Feb 2002 13:30:04 +0000 (13:30 +0000)
commit4edb36051b0ccdda4c1ea67938e3cad5b8e194c1
treead97c2c9c6937f818499e1e71ba0ae8c21869572
parentc738784ca82d62c8e380057ba9ca0ed0fa4b2d77
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50132 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.old-deja/g++.other/crash25.C