Skip to content

Ret from for-loop block sometimes generated bad LLVM bitcode #2142

Description

@marijnh

This is somewhat subtle, in that I haven't been able to reproduce it in small toy programs, but I had to make several changes to loops to make things compile as part of the switch to new-style loops (#1619). The error you get is about an unterminated block.

See for example

c902eaf#L1R92
c902eaf#L49R1649

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions