[LLVMbugs] [Bug 3063] New: clang is overly permissive with statement expressions
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Nov 12 17:16:49 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=3063
Summary: clang is overly permissive with statement expressions
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
clang accepts:
--
int f0() {
int x = sizeof( ({ L1: g0(); 10;}) );
goto L1;
}
--
Need I say more?
The sizeof here is overkill, gcc seems to reject all jumps into statement
expressions. A nice tether to the brink of insanity.
--
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