From a0b604fc7f2dfaba292640b7669f283094a5c74c Mon Sep 17 00:00:00 2001 From: ghazi Date: Sun, 26 Jun 2005 21:50:32 +0000 Subject: * genautomata.c (decl_mode_check_failed, regexp_mode_check_failed): Add noreturn attribute. cp: * cp-tree.h (lang_check_failed): Add noreturn attribute. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101340 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/genautomata.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/genautomata.c') diff --git a/gcc/genautomata.c b/gcc/genautomata.c index dd933779985..3748564083b 100644 --- a/gcc/genautomata.c +++ b/gcc/genautomata.c @@ -1357,7 +1357,8 @@ struct state_ainsn_table static const char *decl_name (enum decl_mode); static void decl_mode_check_failed (enum decl_mode, const char *, - const char *, int, const char *); + const char *, int, const char *) + ATTRIBUTE_NORETURN; /* Return string representation of declaration mode MODE. */ static const char * @@ -1445,7 +1446,7 @@ decl_mode_check_failed (enum decl_mode mode, const char *expected_mode_str, static const char *regexp_name (enum regexp_mode); static void regexp_mode_check_failed (enum regexp_mode, const char *, const char *, int, - const char *); + const char *) ATTRIBUTE_NORETURN; /* Return string representation of regexp mode MODE. */ -- cgit v1.2.1