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-*-* } && ilp32 } } } */
19 struct A p
= { &p
, -1 };
20 struct B q
= { &p
, 0 };
22 extern void abort (void);
23 extern void exit (int);
51 if (p
.b
!= 0 || q
.d
!= 1 || q
.c
!= &p
)