* except.c (do_allocate_exception): Annotate __cxa_allocate_exception
as COLD.
From-SVN: r266583
+2018-11-28 Jan Hubicka <hubicka@ucw.cz>
+
+ * except.c (do_allocate_exception): Annotate __cxa_allocate_exception
+ as COLD.
+
2018-11-28 Marek Polacek <polacek@redhat.com>
PR c++/88222 - ICE with bit-field with invalid 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,