<?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 Optimization bug in icx and icpx in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Optimization-bug-in-icx-and-icpx/m-p/1724367#M4610</link>
    <description>&lt;P&gt;Hey.&lt;/P&gt;&lt;P&gt;I think I have stumbled upon an optimization bug in the Intel C and C++ compilers.&amp;nbsp;I have attached a minimal example consisting of the files&lt;/P&gt;&lt;P&gt;main.c&lt;/P&gt;&lt;P&gt;bug.c&lt;/P&gt;&lt;P&gt;Makefile&lt;/P&gt;&lt;P&gt;The loop structure is still a bit complicated after reducing the example as much as possible. The problem is that the two variables&lt;/P&gt;&lt;P&gt;size_t bbb1;&lt;/P&gt;&lt;P&gt;size_t bbb2;&lt;/P&gt;&lt;P&gt;in bug.c seem to get optimized away or remain uninitialized or something when compiling with -O3.&lt;/P&gt;&lt;P&gt;I ran on 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz with operating system Debian 13 and compiler version&amp;nbsp;Intel(R) oneAPI DPC++/C++ Compiler 2025.3.0 (2025.3.0.20251010).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rasmus&lt;/P&gt;</description>
    <pubDate>Fri, 31 Oct 2025 13:10:07 GMT</pubDate>
    <dc:creator>RasmusV</dc:creator>
    <dc:date>2025-10-31T13:10:07Z</dc:date>
    <item>
      <title>Optimization bug in icx and icpx</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Optimization-bug-in-icx-and-icpx/m-p/1724367#M4610</link>
      <description>&lt;P&gt;Hey.&lt;/P&gt;&lt;P&gt;I think I have stumbled upon an optimization bug in the Intel C and C++ compilers.&amp;nbsp;I have attached a minimal example consisting of the files&lt;/P&gt;&lt;P&gt;main.c&lt;/P&gt;&lt;P&gt;bug.c&lt;/P&gt;&lt;P&gt;Makefile&lt;/P&gt;&lt;P&gt;The loop structure is still a bit complicated after reducing the example as much as possible. The problem is that the two variables&lt;/P&gt;&lt;P&gt;size_t bbb1;&lt;/P&gt;&lt;P&gt;size_t bbb2;&lt;/P&gt;&lt;P&gt;in bug.c seem to get optimized away or remain uninitialized or something when compiling with -O3.&lt;/P&gt;&lt;P&gt;I ran on 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz with operating system Debian 13 and compiler version&amp;nbsp;Intel(R) oneAPI DPC++/C++ Compiler 2025.3.0 (2025.3.0.20251010).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rasmus&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 13:10:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Optimization-bug-in-icx-and-icpx/m-p/1724367#M4610</guid>
      <dc:creator>RasmusV</dc:creator>
      <dc:date>2025-10-31T13:10:07Z</dc:date>
    </item>
  </channel>
</rss>

