On 06/09/2017 12:53 PM, Jan Hubicka wrote:
Hi, this patch marks the obvious candidates for cold attribute and enables cold auto-detection on some common coding patterns.
* class.c (build_vtbl_initializer): Mark dvirt_fn as cold. * decl.c (cxx_init_decl_processing, push_throw_library_fn): Likewise. (excpet.c): Mark terminate as cold.
My only complaint about the C++ bits is the 'excpet' typo in the changelog! nathan -- Nathan Sidwell