Commit c3cc0122 by Jan Hubicka Committed by Jan Hubicka

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
parent 6d078c9a
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.
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment