Skip to content

ICE after return in the middle of a function on Win64/MSVC #1582

@Rikarin

Description

@Rikarin

LLVM version 309
.\source\rsp\Main.d(96,7): Warning: statement is not reachable
.\source\rsp\Main.d(98,4): Warning: statement is not reachable
.\source\rsp\Main.d(96,7): Warning: statement is not reachable
.\source\rsp\Main.d(98,4): Warning: statement is not reachable
Terminator found in the middle of a basic block!
label %postinvoke31
LLVM ERROR: Broken function found, compilation aborted!

I just insert return; into middle of my main function http://prntscr.com/bkmafo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions