Rebase.
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / pr36822.c
blobfb021f21490ae86ee0f07bd73bb379dde3503714
1 /* This used to ICE on s390 due to bug in the definition of the 'R'
2 constraint which replaced the 'm' constraint (together with 'T')
3 while adding z10 support. */
5 /* { dg-do compile } */
6 /* { dg-options "-O" } */
8 int boo()
10 struct {
11 unsigned char pad[4096];
12 unsigned long bar;
13 } *foo;
14 asm volatile( "" : "=m" (*(unsigned long long*)(foo->bar))
15 : "a" (&foo->bar));