struct S { int i; };

void
bar (const void *x, unsigned long y)
{
  const union { struct S a[y / sizeof (struct S)]; } *u = x;
}

void
foo (const void *x, unsigned long y)
{
  bar (x, y);
}

ICEs at -O[23s] -g with
internal compiler error: in gen_tagged_type_instantiation_die, at
dwarf2out.c:14850


-- 
           Summary: [4.4 Regression] ICE in
                    gen_tagged_type_instantiation_die
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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

Reply via email to