mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-30 01:20:06 +08:00
* gcc.dg/20020926-1.c: New test.
From-SVN: r57544
This commit is contained in:
parent
1717e19e2f
commit
b784617e85
@ -1,3 +1,7 @@
|
||||
2002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* gcc.dg/20020926-1.c: New test.
|
||||
|
||||
2002-09-25 David S. Miller <davem@redhat.com>
|
||||
|
||||
PR target/7842
|
||||
|
14
gcc/testsuite/gcc.dg/20020926-1.c
Normal file
14
gcc/testsuite/gcc.dg/20020926-1.c
Normal file
@ -0,0 +1,14 @@
|
||||
/* Make sure that LEGITIMIZE_ADDRESS is called to handle
|
||||
negative displacements. */
|
||||
|
||||
/* { dg-do compile { target s390-*-* } } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
int test (int *addr)
|
||||
{
|
||||
return *(addr - 1);
|
||||
}
|
||||
|
||||
/* { dg-final { scan-assembler "-4096" } } */
|
||||
/* { dg-final { scan-assembler-not "ahi" } } */
|
||||
|
Loading…
Reference in New Issue
Block a user