[Bug c++/17404] [4.0 Regression] gimplify ICE while trying to gimplify a stmt_expr
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Fri Sep 10 20:05:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-09-10 20:05 -------
Serge did all the hard work, but he forgot to take the last step
and claim the cheap points for the smallest testcase :-) Good work, though,
Serge!
-----------------
template <int> void foo () {
__builtin_expect (({0;}), 1);
}
template void foo<1> ();
-----------------
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ -c x.cc
x.cc: In function `void foo() [with int <anonymous> = 1]':
x.cc:5: instantiated from here
x.cc:2: internal compiler error: in gimplify_expr, at gimplify.c:3832
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17404
More information about the Gcc-bugs
mailing list