diff options
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r-- | gcc/cp/except.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 5304381..3070cda 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -1015,8 +1015,8 @@ check_handlers (tree handlers) if (tsi_end_p (i)) break; if (TREE_TYPE (handler) == NULL_TREE) - pedwarn ("%H%<...%> handler must be the last handler for" - " its try block", EXPR_LOCUS (handler)); + permerror ("%H%<...%> handler must be the last handler for" + " its try block", EXPR_LOCUS (handler)); else check_handlers_1 (handler, i); } |