diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-26 21:50:32 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-26 21:50:32 +0000 |
commit | a0b604fc7f2dfaba292640b7669f283094a5c74c (patch) | |
tree | 5b6387e1d6ac9fbb171b1178e19fa2d61577b0d5 /gcc/genautomata.c | |
parent | cbeb206a46b3b67a44c9989372069f90b0a7902c (diff) | |
download | gcc-a0b604fc7f2dfaba292640b7669f283094a5c74c.tar.gz |
* 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
Diffstat (limited to 'gcc/genautomata.c')
-rw-r--r-- | gcc/genautomata.c | 5 |
1 files changed, 3 insertions, 2 deletions
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. */ |