[LLVMbugs] [Bug 4026] New: Clang can't codegen __func__ without implicit cast
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Apr 20 21:30:52 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4026
Summary: Clang can't codegen __func__ without implicit cast
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
$ cat t.c
void foo() {
__func__;
}
$ clang t.c
t.c:4:3: warning: expression result unused [-Wunused-value]
__func__;
^~~~~~~~
t.c:4:3: error: cannot compile this aggregate expression yet
__func__;
^~~~~~~~
--
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