[LLVMbugs] [Bug 6536] New: C++ scope checking too aggressive with struct with trivial constructor
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Mar 7 13:56:47 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6536
Summary: C++ scope checking too aggressive with struct with
trivial constructor
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Blocks: 5511
Testcase:
struct A {};
void a() { goto out; A x; out: return; }
gcc accepts this, clang does not; I'm pretty sure it's valid.
--
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