Skip to content

wasm-opt crash: "Fatal: Unsupported instruction for Flatten: BrOn" #7053

@osa1

Description

@osa1

wasm-opt crashes when I try to optimize the Wasm file in the zip file (attached):

$ wasm-opt -g --all-features --closed-world --traps-never-happen --type-unfinalizing -Os --type-ssa --gufa -Os --type-merging -O4 --type-finalizing test.wasm -o test.opt.wasm
Fatal: Unsupported instruction for Flatten: BrOn
Fatal: Unsupported instruction for Flatten: BrOn

I'm trying with the current main branch (320867a):

$ wasm-opt --version
wasm-opt version 120 (version_117-528-g320867a7c)

Update: it also happens with wasm-opt version 119 (93883fd).

test.wasm.zip

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