Skip to content

Oddity with -Wpass-failed=loop-spawning #328

@wheatman

Description

@wheatman

Compiling some code gave the warning

warning: Tapir loop not transformed: failed to use divide-and-conquer loop spawning.  Compile with -Rpass-analysis=loop-spawning for more details. [-Wpass-failed=loop-spawning]

However, this warning seems unknown and trying to add it to any compilation gives a

warning: unknown warning option '-Wpass-failed=loop-spawning'; did you mean '-Wpass-failed'? [-Wunknown-warning-option]

Also the warning was only appearing for this particular codebase if I compiled it with sanitizers -fsan itize=cilk,undefined,address

If you cannot reconstruct what is going on let me know and I can try to get a minimal example. I was having trouble making any sort of small example since I am not sure what is triggering the warning initially.

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