re PR tree-optimization/14107 (Return warnings don't work without optimizations enabled)
authorJason Merrill <jason@redhat.com>
Tue, 15 Jun 2004 20:38:40 +0000 (16:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 15 Jun 2004 20:38:40 +0000 (16:38 -0400)
commiteae29fe1dcd76ead474050e5849a6e36ae1f8b29
tree5a741a9062fb19b8f1ff54736d18f0f1cd113d27
parent0566b51e1fc647d43e1a2dedc8a2d80acd70e1d5
re PR tree-optimization/14107 (Return warnings don't work without optimizations enabled)

        PR tree-optimization/14107
        * decl.c (finish_function): Warn about no return in all functions.

From-SVN: r83198
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/init/new10.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/Wreturn-type-1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.brendan/crash52.C
gcc/testsuite/g++.old-deja/g++.jason/report.C