Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29071 Discussions

Nested associate statements internal compiler error

ivanp
New Contributor I
328 Views

Nesting associate statements leads to ICE's in both ifort and ifx. Here is a MWE which aborts:

associate(d => sin(42.0))
    associate(g => d)
        print *, g, loc(g) == loc(d)
    end associate
end associate
end

 Output of other compilers can be found in Compiler Explorer: https://godbolt.org/z/TE7z37vne

Labels (1)
0 Kudos
0 Replies
Reply