1 /* { dg-do compile { target fpic } } */
2 /* { dg-options "-fPIC -g -O2 -w" } */
3 /* var-tracking failed to clobber the reg holding v at the asm insn,
4 so v ended up bound to an intermediate PIC expression. */
6 struct A
{ unsigned a1
; char a2
[15]; };
7 struct B
{ long b1
; unsigned char b2
; long b3
; };
8 struct C
{ void *c1
; unsigned c2
; unsigned c3
; };
11 struct A
*const v2
= &v1
;
17 __asm__
__volatile__ ("" : "=r" (v
));
24 if (x
->c2
== x
->c3
&& x
->c1
)
25 f1 (foo (), x
->c1
, x
->c3
* sizeof (x
->c1
[0]));
35 for (i
= 0; i
< sizeof (struct B
); i
++, y
)
40 if (__builtin_strchr (j
, '='))