[LLVMbugs] [Bug 3454] New: error: cannot codegen this break/continue/ return inside scope with VLA yet

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Feb 1 05:53:26 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=3454

           Summary: error: cannot codegen this break/continue/return inside
                    scope with VLA yet
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


clang is not able to codegen break/return/continue when called from a scope
with VLA's

witten /tmp# ccc vla.c
vla.c:9:3: error: cannot codegen this break inside scope with VLA yet
         break;
         ^~~~~
vla.c:12:3: error: cannot codegen this continue inside scope with VLA yet
         continue;
         ^~~~~~~~
vla.c:16:4: error: cannot codegen this return inside scope with VLA yet
   return;
   ^~~~~~
3 diagnostics generated.

the attached vla.c demonstrates this problem


-- 
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