[LLVMbugs] [Bug 14046] New: #pragma weak not parsing

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 9 15:04:42 PDT 2012


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

             Bug #: 14046
           Summary: #pragma weak not parsing
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


This is a recent regression. Testcase:

extern int abc(void);

void foo() {
#pragma weak abc
}

Today it issues this error:

p.c:4:9: error: expected expression
#pragma weak abc
        ^
1 error generated.

Last week this parsed cleanly. It should parse fine.

-- 
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.



More information about the llvm-bugs mailing list