1 /* PR optimization/5844
2 This testcase was miscompiled because of an rtx sharing bug. */
4 /* { dg-options "-O2" } */
5 /* { dg-options "-O2 -mtune=i586" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
6 /* { dg-xfail-if "doesn't support self-referential initializers" { nvptx-*-* } } */
20 struct A p
= { &p
, -1 };
21 struct B q
= { &p
, 0 };
23 extern void abort (void);
24 extern void exit (int);
52 if (p
.b
!= 0 || q
.d
!= 1 || q
.c
!= &p
)