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++/18793] [4.0 regression] ICE in cp_expr_size


------- Additional Comments From bangerth at dealii dot org  2004-12-02 23:34 -------
We can save one layer of objects: 
------------------------- 
struct S { 
  S(); 
  S(const S&); 
  void operator=(const S&); 
}; 
 
struct X { 
    int a, b, c, d, e; 
    S s; 
}; 
 
void foobar () { 
  X x = {0}; 
} 
---------------------- 
 
sandbox/tt> /ices/bangerth/tmp/build-gcc/gcc-install/bin/c++ -c x.cc 
x.cc: In function 'void foobar()': 
x.cc:13: internal compiler error: in cp_expr_size, at cp/cp-objcp-common.c:86 
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=18793


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