This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/52554] Variable called $1 causes invalid asm to be generated


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]