[Bug c/37519] confusing error message about attribute section name type
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 28 08:48:58 GMT 2021
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.
More information about the Gcc-bugs
mailing list