Skip to content

error: cannot codegen this break/continue/return inside scope with VLA yet #3826

@llvmbot

Description

@llvmbot
Bugzilla Link 3454
Resolution FIXED
Resolved on Feb 10, 2009 02:30
Version unspecified
OS FreeBSD
Attachments test case
Reporter LLVM Bugzilla Contributor

Extended Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:codegenIR generation bugs: mangling, exceptions, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions