]> gcc.gnu.org Git - gcc.git/commit
re PR c++/11531 (ICE on invalid code (returning to void))
authorGabriel Dos Reis <gdr@gcc.gnu.org>
Tue, 15 Jul 2003 23:31:52 +0000 (23:31 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Tue, 15 Jul 2003 23:31:52 +0000 (23:31 +0000)
commitb0e3f7ec306dafdaf554f5b3eea03de75cec2a84
tree8c95ca0c8979930a9bfa16aad26f060327c7ca5b
parent71628aa09889112d4acdfcea51b85d43808e1d74
re PR c++/11531 (ICE on invalid code (returning to void))

        PR c++/11531
        * diagnostic.c (diagnostic_report_diagnostic): Don't ICE if we're
        not recursing on hard error.
        (diagnostic_for_decl): Likewise.
        * diagnostic.def: Rearrange.

cp/
        * typeck.c (check_return_expr): Fix thinko in diagnostic.

From-SVN: r69425
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/diagnostic.c
gcc/diagnostic.def
gcc/testsuite/g++.dg/other/crash-1.C [new file with mode: 0644]
This page took 0.059291 seconds and 5 git commands to generate.