[Bug c++/67767] -Wsuggest-attribute=noreturn suggests noreturn for function which already has noreturn and cold.

zerotype at yahoo dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 18 01:40:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67767

--- Comment #2 from zerotype at yahoo dot com ---
This can be worked around by using:

[[gnu::cold]] [[gnu::noreturn]]

instead of

[[gnu::cold, gnu::noreturn]]


More information about the Gcc-bugs mailing list