aboutsummaryrefslogtreecommitdiff
path: root/gcc/genautomata.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2005-06-26 21:50:32 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2005-06-26 21:50:32 +0000
commit82e5a12a581ea11e83cbd94d368e3297abda8fe2 (patch)
tree5b6387e1d6ac9fbb171b1178e19fa2d61577b0d5 /gcc/genautomata.c
parent8b41d4bf17bc263837e56f89fdc365b432ff9fa6 (diff)
downloadgcc-82e5a12a581ea11e83cbd94d368e3297abda8fe2.zip
gcc-82e5a12a581ea11e83cbd94d368e3297abda8fe2.tar.gz
gcc-82e5a12a581ea11e83cbd94d368e3297abda8fe2.tar.bz2
genautomata.c (decl_mode_check_failed, [...]): Add noreturn attribute.
* genautomata.c (decl_mode_check_failed, regexp_mode_check_failed): Add noreturn attribute. cp: * cp-tree.h (lang_check_failed): Add noreturn attribute. From-SVN: r101340
Diffstat (limited to 'gcc/genautomata.c')
-rw-r--r--gcc/genautomata.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/genautomata.c b/gcc/genautomata.c
index dd93377..3748564 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. */