1 /* This tests whether non-offsettable memory operands are reloaded
2    correctly in certain corner cases on s390 targets.  */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu89" } */
5 
test_inout(char * bd,int xd,char * bs,int xs)6 void test_inout (char *bd, int xd, char *bs, int xs)
7 {
8   *(long long *)(bd + xd + 4093) = *(long long *)(bs + xs + 4093);
9 }
10 
test_in(char * bd,int xd,char * bs,int xs)11 void test_in (char *bd, int xd, char *bs, int xs)
12 {
13   *(long long *)(bd + xd) = *(long long *)(bs + xs + 4093);
14 }
15 
test_out(char * bd,int xd,char * bs,int xs)16 void test_out (char *bd, int xd, char *bs, int xs)
17 {
18   *(long long *)(bd + xd + 4093) = *(long long *)(bs + xs);
19 }
20 
21