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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr38932.c] - Blame information for rev 307

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
 
4
/* This variable needed only to exercise FRE instead of CCP.  */
5
unsigned char g;
6
 
7
extern void abort();
8
 
9
void f (long long int p)
10
{
11
  g = 255;
12
  if (p >= (-9223372036854775807LL - 1) - (signed char) g)
13
    p = 1;
14
 
15
  if (p)
16
    abort ();
17
}
18
 
19
 

powered by: WebSVN 2.1.0

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