This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17404] [4.0 Regression] gimplify ICE while trying to gimplify a stmt_expr
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2004 20:05:17 -0000
- Subject: [Bug c++/17404] [4.0 Regression] gimplify ICE while trying to gimplify a stmt_expr
- References: <20040910175350.17404.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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