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


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.


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