testcase produces
internal compiler error: in collapse_rest_of_var, at
tree-ssa-structalias.c:3296

Version: trunk rev. 144201.
Reproduce: gcc-4.4 -O2 -c tst.c


typedef struct
{
  union
  {
    int * aaa;
  } u;
} t_a;

typedef struct
{
  unsigned bbb : 1;
} t_b;

typedef struct
{
  int ccc;
  t_a ddd;
  t_b eee;
  int fff;
} t_c;

typedef struct t_d
{
  t_c f1;
  t_c f2;
} t_d;

void foo (void)
{
  t_d ggg;
  ggg.f1 = ggg.f2;
}


-- 
           Summary: internal compiler error: in collapse_rest_of_var, at
                    tree-ssa-structalias.c:3296
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: holger dot hopp at sap dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

Reply via email to