OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20020926-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* 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
 
7
int test (int *addr)
8
{
9
  return *(addr - 1);
10
}
11
 
12
/* { dg-final { scan-assembler "-4096" } } */
13
/* { dg-final { scan-assembler-not "ahi" } } */
14
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.