diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/cp-tree.h | 2 | ||||
-rw-r--r-- | gcc/genautomata.c | 5 |
4 files changed, 13 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 305ab25..c63f5fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * genautomata.c (decl_mode_check_failed, + regexp_mode_check_failed): Add noreturn attribute. + 2005-06-26 Kazu Hirata <kazu@codesourcery.com> * cfg.c, tree-vect-transform.c, tree.def: Fix comment typos. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 288d3d8..198167e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2005-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * cp-tree.h (lang_check_failed): Add noreturn attribute. + 2005-06-25 Kelley Cook <kcook@gcc.gnu.org> * all files: Update FSF address in copyright headers. diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 4d61bb7..f661952f 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -4175,7 +4175,7 @@ extern void note_decl_for_pch (tree); /* in tree.c */ extern void lang_check_failed (const char *, int, - const char *); + const char *) ATTRIBUTE_NORETURN; extern tree stabilize_expr (tree, tree *); extern void stabilize_call (tree, tree *); extern bool stabilize_init (tree, tree *); 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. */ |