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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [vrp45.c] - Blame information for rev 298

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do link } */
2
/* { dg-options "-O2" } */
3
 
4
extern void link_error (void);
5
 
6
void foo (int i)
7
{
8
  if (i > -128 && i < 127)
9
    {
10
      unsigned char k = i;
11
      if (k == 0x80)
12
        link_error ();
13
      if (k == 0x7f)
14
        link_error ();
15
    }
16
}
17
 
18
int main() { return 0; }
19
 

powered by: WebSVN 2.1.0

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