http://llvm.org/bugs/show_bug.cgi?id=2743
Summary: referencing a static function that isn't defined crashes
codegen
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
referencing a static function that isn't defined crashes codegen. GCC promotes
the static symbol to an external reference, but I think it would be better to
just reject this.
e.g.:
static void foo();
void bar() {
foo();
}
--
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