public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12700] New: [g++ 3.4] ICE in size_binop
@ 2003-10-21  7:11 grigory at stl dot sarov dot ru
  2003-10-21 13:47 ` [Bug c++/12700] ICE in size_binop with covariant return types bangerth at dealii dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: grigory at stl dot sarov dot ru @ 2003-10-21  7:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12700

           Summary: [g++ 3.4] ICE in size_binop
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: grigory at stl dot sarov dot ru
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-redhat-linux
  GCC host triplet: i686-redhat-linux
GCC target triplet: i686-redhat-linux

Yet another ICE related to covariant thunks. G++ 3.4 gives it on the the test-
case listed below. This happens both on i686-redhat-linux and ia64-suse-linux.

$ g++ -c ice-2.cpp
ice-2.cpp:19: internal compiler error: in size_binop, at fold-const.c:1489
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


$ cat ice-2.cpp
struct c2 { int i; };

struct c1 {
    virtual c2& f8() {};
};

struct c3 : c1, c2 {
    virtual c2& f8() {};
};

struct c11 : public c1 {
    virtual c3& f8() {};
};

struct c15 : virtual c3 {
    virtual c2& f8() {};
};

struct c18 : virtual c11 {
    virtual c15& f8();
};

c15& c18::f8() { throw 0; };


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-04  9:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-21  7:11 [Bug c++/12700] New: [g++ 3.4] ICE in size_binop grigory at stl dot sarov dot ru
2003-10-21 13:47 ` [Bug c++/12700] ICE in size_binop with covariant return types bangerth at dealii dot org
2003-10-21 13:58 ` nathan at gcc dot gnu dot org
2003-10-24  8:12 ` nathan at gcc dot gnu dot org
2003-12-04  9:47 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).