Add cold attribute to throw wrappers and terminate
commit45c53768b6fa3d737ae818e31d3c50da62e0ad2b
authorJan Hubicka <jh@suse.cz>
Wed, 28 Jun 2023 09:45:15 +0000 (28 11:45 +0200)
committerJan Hubicka <jh@suse.cz>
Wed, 28 Jun 2023 09:47:11 +0000 (28 11:47 +0200)
tree35611361bc35f893d2b4a1c0a5f5607ba5eee63e
parent51c8cbc6bba387f953d9be48c4a4c8b657dd54a5
Add cold attribute to throw wrappers and terminate

PR middle-end/109849
* include/bits/c++config (std::__terminate): Mark cold.
* include/bits/functexcept.h: Mark everything as cold.
* libsupc++/exception: Mark terminate and unexpected as cold.
libstdc++-v3/include/bits/c++config
libstdc++-v3/include/bits/functexcept.h
libstdc++-v3/libsupc++/exception