<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Nested associate statements internal compiler error in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1735726#M178203</link>
    <description>&lt;P&gt;It was a bug in ifx 2025.2 and earlier. Fixed in 2025.3.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2026 22:14:09 GMT</pubDate>
    <dc:creator>Igor_V_Intel</dc:creator>
    <dc:date>2026-02-03T22:14:09Z</dc:date>
    <item>
      <title>Nested associate statements internal compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1632567#M173745</link>
      <description>&lt;P&gt;Nesting associate statements leads to ICE's in both ifort and ifx. Here is a MWE which aborts:&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt;associate(d =&amp;gt; sin(42.0))
    associate(g =&amp;gt; d)
        print *, g, loc(g) == loc(d)
    end associate
end associate
end&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Output of other compilers can be found in Compiler Explorer:&amp;nbsp;&lt;A href="https://godbolt.org/z/TE7z37vne" target="_blank"&gt;https://godbolt.org/z/TE7z37vne&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 10:47:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1632567#M173745</guid>
      <dc:creator>ivanp</dc:creator>
      <dc:date>2024-09-21T10:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nested associate statements internal compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1735723#M178201</link>
      <description>&lt;P&gt;It looks like this has been resolved with version 2025.3.0.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 22:07:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1735723#M178201</guid>
      <dc:creator>ivanp</dc:creator>
      <dc:date>2026-02-03T22:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nested associate statements internal compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1735726#M178203</link>
      <description>&lt;P&gt;It was a bug in ifx 2025.2 and earlier. Fixed in 2025.3.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 22:14:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1735726#M178203</guid>
      <dc:creator>Igor_V_Intel</dc:creator>
      <dc:date>2026-02-03T22:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nested associate statements internal compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1735728#M178204</link>
      <description>&lt;P&gt;With my version of ifx the ICE has gone away but the output still looks wrong because the result of loc(g) == loc(d) is F. Gfortran gives T.&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;(lf) john:~$ ifx --version&lt;BR /&gt;ifx (IFX) 2025.3.0 20251010&lt;BR /&gt;Copyright (C) 1985-2025 Intel Corporation. All rights reserved.&lt;/P&gt;&lt;P&gt;(lf) john:~$ ifx associate.f90 &amp;amp;&amp;amp; ./a.out&lt;BR /&gt;-0.9165215 F&lt;BR /&gt;(lf) john:~$ gfortran associate.f90 &amp;amp;&amp;amp; ./a.out&lt;BR /&gt;-0.916521549 T&lt;BR /&gt;(lf) john:~$&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 22:38:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1735728#M178204</guid>
      <dc:creator>JFH</dc:creator>
      <dc:date>2026-02-03T22:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Nested associate statements internal compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1735736#M178207</link>
      <description>&lt;P&gt;We'd have to read the standard "fine-print" here. I'm not sure the results of `loc` extension are relevant here. I used it to determine if compilers are creating copies or not. Note that you cannot use `c_loc` on `g` or `d`, because they don't have the pointer or target attribute.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 23:34:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1735736#M178207</guid>
      <dc:creator>ivanp</dc:creator>
      <dc:date>2026-02-03T23:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Nested associate statements internal compiler error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1735750#M178208</link>
      <description>&lt;P&gt;There is no standard "fine print" because the F2023 standard has no LOC intrinsic, and so gfortran and ifx must have provided it as extensions. The different outputs suggest that ASSOCIATE&amp;nbsp; was implemented in different ways that both work.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2026 01:16:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Nested-associate-statements-internal-compiler-error/m-p/1735750#M178208</guid>
      <dc:creator>JFH</dc:creator>
      <dc:date>2026-02-04T01:16:59Z</dc:date>
    </item>
  </channel>
</rss>

