Skip to content

Spawning non-call crashes compiler #5

@VoxSciurorum

Description

@VoxSciurorum

Compile this one-liner with -fopencilk and the beta2-rc1 compiler crashes:

void f() { int x = _Cilk_spawn 0; return; }

OK to error, but not to crash. It could be given a meaning, either "detach then compute 0" or "compute 0 then detach and do nothing".

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