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" } */
6 void test_inout (char *bd
, int xd
, char *bs
, int xs
)
8 *(long long *)(bd
+ xd
+ 4093) = *(long long *)(bs
+ xs
+ 4093);
11 void test_in (char *bd
, int xd
, char *bs
, int xs
)
13 *(long long *)(bd
+ xd
) = *(long long *)(bs
+ xs
+ 4093);
16 void test_out (char *bd
, int xd
, char *bs
, int xs
)
18 *(long long *)(bd
+ xd
+ 4093) = *(long long *)(bs
+ xs
);