[LLVMbugs] [Bug 2743] New: referencing a static function that isn' t defined crashes codegen
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Sep 1 09:32:11 PDT 2008
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: unassignedbugs at nondot.org
ReportedBy: nunoplopes at sapo.pt
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list