This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17404] [4.0 Regression] gimplify ICE while trying to gimplify a stmt_expr


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]