[Bug target/52554] Variable called $1 causes invalid asm to be generated
fw at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 28 06:09:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52554
Florian Weimer <fw at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|accepts-invalid, wrong-code |
Status|UNCONFIRMED |RESOLVED
CC| |fw at gcc dot gnu.org
Resolution| |INVALID
--- Comment #4 from Florian Weimer <fw at gcc dot gnu.org> 2012-03-28 05:38:56 UTC ---
Some platforms (such as VMS) support $ in identifiers, similar to _. It seems
that your assembler doesn't:
http://gcc.gnu.org/onlinedocs/gcc/Dollar-Signs.html
(If you compile with -pedantic, you'll get a warning.)
This is not much different from platforms where global symbols are
case-insensitive or severely limited in length.
More information about the Gcc-bugs
mailing list