aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2017-06-08 17:24:38 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2017-06-08 15:24:38 +0000
commite6026dc04cb8dd7f5f68d6ac586665cc0643d5c0 (patch)
treed84b73a4c04b4ab6167283c67dbd1cf42152f615 /gcc/system.h
parentee4e85b78f5dab1f297aa9278694593c18fe1ae0 (diff)
downloadgcc-e6026dc04cb8dd7f5f68d6ac586665cc0643d5c0.zip
gcc-e6026dc04cb8dd7f5f68d6ac586665cc0643d5c0.tar.gz
gcc-e6026dc04cb8dd7f5f68d6ac586665cc0643d5c0.tar.bz2
system.h (fancy_abort): Annotate by ATTRIBUTE_COLD.
* system.h (fancy_abort): Annotate by ATTRIBUTE_COLD. * rtl.h (rtl_check_failed_bounds, rtl_check_failed_type1, rtl_check_failed_type2, rtl_check_failed_code1, rtl_check_failed_code2, rtl_check_failed_code_mode, rtl_check_failed_block_symbol, cwi_check_failed_bounds, rtvec_check_failed_bounds, rtl_check_failed_flag, _fatal_insn_not_found, _fatal_insn): Likewise. * tree.h (tree_contains_struct_check_failed, tree_check_failed, tree_not_check_failed, tree_class_check_failed, tree_range_check_failed, tree_not_class_check_failed, tree_int_cst_elt_check_failed, tree_vec_elt_check_failed, phi_node_elt_check_failed, tree_operand_check_failed, omp_clause_check_failed, omp_clause_operand_check_failed, omp_clause_range_check_failed): Likewise. * cp-tree.h (lang_check_failed): Annotate by ATTRIBUTE_COLD. From-SVN: r249022
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 0cbf60a..b091794 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -722,7 +722,8 @@ extern int vsnprintf (char *, size_t, const char *, va_list);
/* Redefine abort to report an internal error w/o coredump, and
reporting the location of the error in the source file. */
-extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
+extern void fancy_abort (const char *, int, const char *)
+ ATTRIBUTE_NORETURN ATTRIBUTE_COLD;
#define abort() fancy_abort (__FILE__, __LINE__, __FUNCTION__)
/* Use gcc_assert(EXPR) to test invariants. */