1 /* Make sure that LEGITIMIZE_ADDRESS is called to handle 2 negative displacements. */ 3 4 /* { dg-do compile { target { s390-*-* } } } */ 5 /* { dg-options "-O2 -mesa" } */ 6 test(int * addr)7int test (int *addr) 8 { 9 return *(addr - 1); 10 } 11 12 /* { dg-final { scan-assembler "-4096" } } */ 13 /* { dg-final { scan-assembler-not "ahi" } } */ 14 15