In some cases, it would be useful if the presence of the gcc -mregnames
option was not only communicated to the assembler, but also to the C
program being compiled.  This comes up in an unusual usage of
inline-assembler operands, where the ambiguity between literals and
register names is a problem.  (http://sourceware.org/PR11821).
With such a macro (say, -D__GCC_REGNAMES), the inline-asm code could
emit extra code strings to allow resolution of the ambiguities.


-- 
           Summary: define a macro for presence of -mregnames option
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fche at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44995

Reply via email to