------- Additional Comments From reichelt at gcc dot gnu dot org  2005-07-14 
20:24 -------
Confirmed. Reduced testcase (compile with -O)

=====================================
struct X
{
  int i0, i1;
  char c;
};

struct A
{
  int i;
  char c0, c1;

  virtual ~A();
};

struct B : virtual A {};

struct C : B
{
  X x;

  void bar(X y) { x = y; }
};

void foo()
{
  C().bar(X());
}
=====================================

On i686-pc-linux-gnu this results in:

PR22488.cc: In function 'void foo()':
PR22488.cc:24: internal compiler error: in first_vi_for_offset, at
tree-ssa-structalias.c:2858
Please submit a full bug report, [etc.]


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|x86_64-unknown-linux-gnu    |
   GCC host triplet|x86_64-unknown-linux-gnu    |
 GCC target triplet|x86_64-unknown-linux-gnu    |
           Keywords|                            |monitored
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-14 20:24:18
               date|                            |


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

Reply via email to