aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/except.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2018-11-28 21:25:08 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2018-11-28 20:25:08 +0000
commitc3cc0122ca3f2a1d039dd24e1590362302de30b6 (patch)
treec638b3523751d0b041fdd3f19450139f64d1f1d3 /gcc/cp/except.c
parent6d078c9ad5888c7e581790cd8ce16462fa7d7f14 (diff)
downloadgcc-c3cc0122ca3f2a1d039dd24e1590362302de30b6.zip
gcc-c3cc0122ca3f2a1d039dd24e1590362302de30b6.tar.gz
gcc-c3cc0122ca3f2a1d039dd24e1590362302de30b6.tar.bz2
except.c (do_allocate_exception): Annotate __cxa_allocate_exception as COLD.
* except.c (do_allocate_exception): Annotate __cxa_allocate_exception as COLD. From-SVN: r266583
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r--gcc/cp/except.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 3449b59..7e39cdf 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -506,7 +506,7 @@ do_allocate_exception (tree type)
allocate_exception_fn
= declare_library_fn ("__cxa_allocate_exception",
ptr_type_node, size_type_node,
- ECF_NOTHROW | ECF_MALLOC, ECF_TM_PURE);
+ ECF_NOTHROW | ECF_MALLOC | ECF_COLD, ECF_TM_PURE);
return cp_build_function_call_nary (allocate_exception_fn,
tf_warning_or_error,