This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11295] [3.3/3.4 regression] ICE in cp_expr_size, at cp/cp-lang.c:314 when using a non-trivial object in a compound statement expression
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2003 01:56:15 -0000
- Subject: [Bug c++/11295] [3.3/3.4 regression] ICE in cp_expr_size, at cp/cp-lang.c:314 when using a non-trivial object in a compound statement expression
- References: <20030623155039.11295.jfc@legra.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11295
giovannibajo at libero dot it changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.3/3.4 Regression] |[3.3/3.4 regression] ICE in
|*reinterpret_cast<std::strin|cp_expr_size, at cp/cp-
|g *> causes ICE |lang.c:314 when using a non-
| |trivial object in a compound
| |statement expression
------- Additional Comments From giovannibajo at libero dot it 2003-06-24 01:56 -------
Redux:
------------------------------
struct Bar
{
Bar();
Bar(const Bar&);
};
struct Foo
{
Foo();
Foo& operator=(const Foo& __str);
Bar bar;
};
Foo func(void)
{
return ({Foo f; f; });
}
------------------------------
pr11295.cpp: In function `Foo func()':
pr11295.cpp:17: internal compiler error: in cp_expr_size, at cp/cp-lang.c:314
Please, let's keep bugs unconfirmed until we have a redux, thanks.