[Bug middle-end/26336] New: [4.1 Regression] ICE in lhd_set_decl_assembler_name

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 17 11:22:00 GMT 2006


struct U
{
  unsigned int u[256];
};

struct S
{
  int u, v, w, x;
  int s[255];
};

int
foo (struct U *x, struct S *y)
{
  register int i;
  for (i = 0; i < 255; i++)
    {
      unsigned int v, w = x->u[i + 1];
      __asm__ ("" : "=r" (v) : "0" (w) : "cc");
      y->s[i] = v;
    }
  return 0;
}

ICEs in lhd_set_decl_assembler_name at -O2, seems to work with 4.0.2 as well
as trunk.


-- 
           Summary: [4.1 Regression] ICE in lhd_set_decl_assembler_name
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
GCC target triplet: i386-linux, x86_64-linux


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



More information about the Gcc-bugs mailing list