re PR c/9862 (spurious warnings with -W -finline-functions)
authorSteven Bosscher <steven@gcc.gnu.org>
Sat, 6 Sep 2003 13:34:00 +0000 (13:34 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sat, 6 Sep 2003 13:34:00 +0000 (13:34 +0000)
commit03845b47e6a3519de3be01030abdaa20e3595983
tree95933801fe9d7d8c2366530070824dbcb792e031
parentb92bc2a028982a808589a187381095c158182446
re PR c/9862 (spurious warnings with -W -finline-functions)

PR c/9862
* c-decl.c (c_expand_body_1): Move return warning from here...
(finish_function): ...to here.

* gcc.dg/20030906-1.c: New test.
* gcc.dg/20030906-2.c: Likewise.

From-SVN: r71134
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20030906-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/20030906-2.c [new file with mode: 0644]