https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87178
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC is correct, this is similar in the way you put a inline function in a section. Clang is wrong in accepting it.