<?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 Thanks Tim for your answer. I in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/builtin-choose-expr-internal-error/m-p/1073461#M7022</link>
    <description>&lt;P&gt;Thank you Tim for your answer. I've find a way to pass through the problem.&lt;BR /&gt;
	Here is the Jens Gustedt's method :&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;union utype {__typeof__(__builtin_choose_expr (0, *(short*)0, *(double*)0)) u00_m;};&lt;/PRE&gt;

&lt;P&gt;With this casting form the compiler doesn't complain anymore !&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2017 13:57:45 GMT</pubDate>
    <dc:creator>salas__daniel</dc:creator>
    <dc:date>2017-01-19T13:57:45Z</dc:date>
    <item>
      <title>__builtin_choose_expr internal error</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/builtin-choose-expr-internal-error/m-p/1073459#M7020</link>
      <description>&lt;P&gt;I have the following internal error when I try to use the C11 __builtin_choose_expr with a compound literal as follow:&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;internal error: assertion failed at: "shared/cfe/edgcpfe/expr.c", line 259
  union utype {__typeof__(__builtin_choose_expr (0, (short) {0}, (double) {0})) u00_m;};&lt;/PRE&gt;

&lt;P&gt;&lt;BR /&gt;
	Another internal error arise when I use a block form :&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;internal error: bad pointer
  union utype {__typeof__(__builtin_choose_expr (0, ({short p00_val = {0}; p00_val;}),  ({double p00_val = {0}; p00_val;}))) u01_m;};&lt;/PRE&gt;

&lt;P&gt;Do you have any work around to make this work ?&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 16:16:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/builtin-choose-expr-internal-error/m-p/1073459#M7020</guid>
      <dc:creator>salas__daniel</dc:creator>
      <dc:date>2017-01-18T16:16:57Z</dc:date>
    </item>
    <item>
      <title>This forum may not bring</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/builtin-choose-expr-internal-error/m-p/1073460#M7021</link>
      <description>This forum may not bring attention to the issue.  If it is ignored on c++ forum you may need a full ips problem report.  The construct appears to be needed for compatibility with gcc 4.7 and newer so ought to work with icc 7.0.1.</description>
      <pubDate>Wed, 18 Jan 2017 21:26:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/builtin-choose-expr-internal-error/m-p/1073460#M7021</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2017-01-18T21:26:45Z</dc:date>
    </item>
    <item>
      <title>Thanks Tim for your answer. I</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/builtin-choose-expr-internal-error/m-p/1073461#M7022</link>
      <description>&lt;P&gt;Thank you Tim for your answer. I've find a way to pass through the problem.&lt;BR /&gt;
	Here is the Jens Gustedt's method :&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;union utype {__typeof__(__builtin_choose_expr (0, *(short*)0, *(double*)0)) u00_m;};&lt;/PRE&gt;

&lt;P&gt;With this casting form the compiler doesn't complain anymore !&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 13:57:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/builtin-choose-expr-internal-error/m-p/1073461#M7022</guid>
      <dc:creator>salas__daniel</dc:creator>
      <dc:date>2017-01-19T13:57:45Z</dc:date>
    </item>
  </channel>
</rss>

