Skip to content

Infinite loop in compilation (with AxisArrays) #22248

@iamed2

Description

@iamed2

I tried to distill this so it didn't require AxisArrays with no luck. It seems to be a pretty complex interaction.

using AxisArrays

A = AxisArray([  1  4  7  10  13
                 2  5  8  11  14
                 3  6  9  12  15], :y, :x)
for C in (A,)
    for op in (sum,)
        C1t = op(C, Axis{:y})
    end
end

Making A const fixes it. Assigning the tuples to variables fixes it. Calling op with a numerical dimension instead of an Axis fixes it.

This happens on master (80369bf7b4 as of this post) and is not SIGINTable.

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