Commit b784617e by Ulrich Weigand Committed by Ulrich Weigand

* gcc.dg/20020926-1.c: New test.

From-SVN: r57544
parent 1717e19e
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
......
/* 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" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment