Boost C++ Libraries: Ticket #5219: mpl_plus_pass intel-darwin/linux-10/11 internal error https://svn.boost.org/trac10/ticket/5219 <p> Under darwin/linux the Intel compiler falls into an internal error on mpl_plus_pass ratio tests </p> <p> internal error: assertion failed: copy_template_param_expr. </p> <p> ============================================== Compile [2011-02-23 06:21:57 UTC]: fail </p> <blockquote> <p> "/opt/intel/cce/10.1.024/bin/icpc" -xc++ -w2 -O0 -g -wd304,1418 -inline-level=0 -vec-report0 -DBOOST_ALL_NO_LIB=1 -DBOOST_ENABLE_WARNINGS -DBOOST_MPL_NEXT_PRIOR_EXT -DBOOST_RATIO_USES_MPL_ASSERT -D<span class="underline">WINT_TYPE</span>=int -I".." -c -o "<a class="missing wiki">/Volumes/Scratch</a>/kbelco/boost/results/boost/bin.v2/libs/ratio/test/mpl_plus_pass.test/intel-darwin-10.1/debug/mpl_plus_pass.o" "../libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp" </p> </blockquote> <p> ../libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp(29): remark <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>: variable "mpl_assertion_in_line_29" was declared but never referenced </p> <blockquote> <p> BOOST_RATIO_STATIC_ASSERT(R::num == 2 &amp;&amp; R::den == 1, NOTHING, ()); <sup> </sup></p> </blockquote> <p> ../libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp(31): remark <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>: variable "mpl_assertion_in_line_31" was declared but never referenced </p> <blockquote> <p> BOOST_RATIO_STATIC_ASSERT(RR::num == 3 &amp;&amp; RR::den == 1, NOTHING, ()); <sup> </sup></p> </blockquote> <p> ../libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp(37): remark <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>: variable "mpl_assertion_in_line_37" was declared but never referenced </p> <blockquote> <p> BOOST_RATIO_STATIC_ASSERT(R::num == 3 &amp;&amp; R::den == 2, NOTHING, ()); <sup> </sup></p> </blockquote> <p> ../libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp(44): remark <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>: variable "mpl_assertion_in_line_44" was declared but never referenced </p> <blockquote> <p> BOOST_RATIO_STATIC_ASSERT(R::num == 1 &amp;&amp; R::den == 2, NOTHING, ()); <sup> </sup></p> </blockquote> <p> ../libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp(51): remark <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>: variable "mpl_assertion_in_line_51" was declared but never referenced </p> <blockquote> <p> BOOST_RATIO_STATIC_ASSERT(R::num == 1 &amp;&amp; R::den == 2, NOTHING, ()); <sup> </sup></p> </blockquote> <p> ../libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp(58): remark <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>: variable "mpl_assertion_in_line_58" was declared but never referenced </p> <blockquote> <p> BOOST_RATIO_STATIC_ASSERT(R::num == -1 &amp;&amp; R::den == 2, NOTHING, ()); <sup> </sup></p> </blockquote> <p> ../libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp(65): remark <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>: variable "mpl_assertion_in_line_65" was declared but never referenced </p> <blockquote> <p> BOOST_RATIO_STATIC_ASSERT(R::num == -1 &amp;&amp; R::den == 2, NOTHING, ()); <sup> </sup></p> </blockquote> <p> ../libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp(72): remark <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/177" title="#177: Support Requests: Boost for Visual C++ 7.1 (closed: None)">#177</a>: variable "mpl_assertion_in_line_72" was declared but never referenced </p> <blockquote> <p> BOOST_RATIO_STATIC_ASSERT(R::num == 127970191639601LL &amp;&amp; R::den == 5177331081415LL, NOTHING, ()); <sup> </sup></p> </blockquote> <p> ../libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp(89): internal error: assertion failed: copy_template_param_expr: bad expression kind (shared/edgcpfe/il.c, line 12565) </p> <blockquote> <p> return func( </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> compilation aborted for ../libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp (code 4) </p> <p> <a class="missing wiki">TinyUrl</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5219 Trac 1.4.3 viboes Thu, 24 Feb 2011 06:51:08 GMT status changed; keywords, resolution set https://svn.boost.org/trac10/ticket/5219#comment:1 https://svn.boost.org/trac10/ticket/5219#comment:1 <ul> <li><strong>keywords</strong> intel internal error added </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> It seems to be already an Intel internal bug database (tracker number <a class="missing ticket">#82149</a>). I have no workaround yet. Please be free to reopen it if you have an hint on how to solve the issue. </p> <p> <a class="ext-link" href="http://svn.boost.org/svn/boost/trunk/libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp"><span class="icon">​</span>http://svn.boost.org/svn/boost/trunk/libs/ratio/test/ratio_extensions/mpl_plus_pass.cpp</a> </p> Ticket