https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118969
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- <source>:2:19: warning: ISO C++ 'likely' attribute does not apply to functions; treating as '[[gnu::hot]]' [-Wattributes] 2 | [[likely]] void f() { | ^