This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add missing ATTRIBUTE_NORETURN into tree checking
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 31 May 2010 18:59:53 +0200
- Subject: Add missing ATTRIBUTE_NORETURN into tree checking
Hi,
comitted as obvious.
Honza
Index: ChangeLog
===================================================================
--- ChangeLog (revision 160078)
+++ ChangeLog (working copy)
@@ -1,5 +1,9 @@
2010-05-31 Jan Hubicka <jh@suse.cz>
+ * tree.h (tree_range_check_failed): Declare noreturn.
+
+2010-05-31 Jan Hubicka <jh@suse.cz>
+
* gimple.c (gimple_call_builtin_p): New function.
* gimple.h (gimple_call_builtin_p): Declare.
* tree-cfg.c (make_edges): Produce edge from BUILT_IN_RETURN
Index: tree.h
===================================================================
--- tree.h (revision 160077)
+++ tree.h (working copy)
@@ -885,7 +885,8 @@ extern void tree_class_check_failed (con
ATTRIBUTE_NORETURN;
extern void tree_range_check_failed (const_tree, const char *, int,
const char *, enum tree_code,
- enum tree_code);
+ enum tree_code)
+ ATTRIBUTE_NORETURN;
extern void tree_not_class_check_failed (const_tree,
const enum tree_code_class,
const char *, int, const char *)