https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37519
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed in GCC 6 by r6-343: <source>:1:1: error: section attribute argument not a string constant int x __attribute__ ((__section__(1))); ^~~ Note the column info is wrong and that is filed already as a seperate bug.