[LLVMbugs] [Bug 1963] New: Addr of functions not considered a constant expr
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Jan 30 14:56:57 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=1963
Summary: Addr of functions not considered a constant expr
Product: clang
Version: unspecified
Platform: PC
OS/Version: NetBSD
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: neil at daikokuya.co.uk
CC: llvmbugs at cs.uiuc.edu
I think this is a known issue, but adding a bug just in case. The following is
fine C90 and C99.
extern void efunc (void);
void (*addr_extern_func) (void) = &efunc;
--
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