This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18793] [4.0 regression] ICE in cp_expr_size
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2004 23:34:20 -0000
- Subject: [Bug c++/18793] [4.0 regression] ICE in cp_expr_size
- References: <20041202195715.18793.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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