This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]