OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [short-compare-1.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* PR rtl-optimization/19296 */
2
/* Origin: Falk Hueffner <falk@debian.org> */
3
 
4
/* { dg-do run } */
5
/* { dg-options "-O" } */
6
/* { dg-options "-O -mtune=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
7
 
8
extern void abort(void);
9
 
10
void f(unsigned short ad)
11
{
12
  if (ad >= 0x4000 && ad < 0xc000)
13
    abort();
14
}
15
 
16
int main(void)
17
{
18
  f(0xff00);
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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