[Bug c++/15461] [3.4 regression] ICE on valid code

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Tue Jun 22 13:55:00 GMT 2004


------- Additional Comments From bangerth at dealii dot org  2004-06-22 13:55 -------
This is slightly shorter, and still shows the same bug: 
---------------------- 
struct A {  
    int i;  
};  
  
inline A foo () {  
    int j = 1; 
    A a = { j }; 
    return a;  
} 
 
A tv = foo(); 
---------------------- 
 
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc -O2 
x.cc: In function `(static initializers for x.cc)': 
x.cc:5: internal compiler error: in make_decl_rtl, at varasm.c:752 
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=15461



More information about the Gcc-bugs mailing list