[LLVMbugs] [Bug 6633] Crash with break in statement expression in for loop

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 17 08:11:43 PDT 2010


Ted Kremenek <kremenek at apple.com> changed:

           What    |Removed                     |Added
                 CC|                            |kremenek at apple.com,
                   |                            |llvmbugs at cs.uiuc.edu
          Component|Frontend                    |LLVM Codegen

--- Comment #1 from Ted Kremenek <kremenek at apple.com> 2010-03-17 10:11:43 CDT ---
This reproduces with '-c', not '-fsyntax-only':

$ ~/llvm-cmake/bin/clang -c t.c
Assertion failed: (!BreakContinueStack.empty() && "break stmt not in a loop or
switch!"), function EmitBreakStmt, file
/Users/kremenek/llvm/tools/clang/lib/CodeGen/CGStmt.cpp, line 636.
Stack dump:

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