http://llvm.org/bugs/show_bug.cgi?id=10392

           Summary: _Pragma's argument gets incorrect macro expansion
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Consider the following input:

#define push(foo) xxxxxxxxxxxxxxxxxxxxxxx
_Pragma("GCC visibility push(default)");

The current implementation of _Pragma expands the push() inside the string if
compiled directly and operates correctly when using e.g. -save-temps.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to