[LLVMbugs] [Bug 17535] New: clang should reject aliases to undefined symbols

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 10 06:57:22 PDT 2013


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

            Bug ID: 17535
           Summary: clang should reject aliases to undefined symbols
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

gcc rejects:

int f(int c) __attribute__((alias("g")));

with the error

/home/espindola/llvm/test.c:1:5: error: ā€˜fā€™ aliased to undefined symbol ā€˜gā€™
 int f(int c) __attribute__((alias("g")));

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131010/30da3729/attachment.html>


More information about the llvm-bugs mailing list