diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-15 23:31:52 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-15 23:31:52 +0000 |
commit | b537a75f6119ad0fa761b732a105d990ad091aae (patch) | |
tree | 8c95ca0c8979930a9bfa16aad26f060327c7ca5b /gcc/diagnostic.def | |
parent | 5fec5f344ce3899592431af2e2c1e588bf579105 (diff) | |
download | gcc-b537a75f6119ad0fa761b732a105d990ad091aae.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69425 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.def')
-rw-r--r-- | gcc/diagnostic.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/diagnostic.def b/gcc/diagnostic.def index 83e5d9cae72..6820bb72e9f 100644 --- a/gcc/diagnostic.def +++ b/gcc/diagnostic.def @@ -1,7 +1,7 @@ DEFINE_DIAGNOSTIC_KIND (DK_FATAL, "fatal error: ") DEFINE_DIAGNOSTIC_KIND (DK_ICE, "internal compiler error: ") -DEFINE_DIAGNOSTIC_KIND (DK_SORRY, "sorry, unimplemented: ") DEFINE_DIAGNOSTIC_KIND (DK_ERROR, "error: ") +DEFINE_DIAGNOSTIC_KIND (DK_SORRY, "sorry, unimplemented: ") DEFINE_DIAGNOSTIC_KIND (DK_WARNING, "warning: ") DEFINE_DIAGNOSTIC_KIND (DK_ANACHRONISM, "anachronism: ") DEFINE_DIAGNOSTIC_KIND (DK_NOTE, "note: ") |