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 debug/48866] gcc hangs when -g is set


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-04 12:07:42 UTC ---
cselib actually.  Shorter testcase:

struct S { struct S *d[2]; };

struct S *
foo (struct S *x)
{
  struct S *y, *z;
  y =
x->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1];
  z =
y->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1]->d[1];
  return z;
}


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