[LLVMbugs] [Bug 14946] New: accepts invalid with attribute weak
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jan 13 19:46:10 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=14946
Bug #: 14946
Summary: accepts invalid with attribute weak
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Clang accepts
static void f();
void f() __attribute((weak));
void f() {
}
but rejects it if the declaration with the attribute weak also has the static
storage class. GCC crashes on this.
--
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