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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr16372-1.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// PR tree-optimization/16372
2
// { dg-do run }
3
// { dg-options "-O1" }
4
 
5
extern "C" void abort();
6
 
7
enum number {ZERO, ONE, TWO, THREE, FOUR, FIVE};
8
 
9
int main() {
10
  number n = FIVE;
11
 
12
  if((n == ONE) || (n == TWO) || (n == THREE)) {
13
    abort ();
14
  }
15
  return 0;
16
}
17
 

powered by: WebSVN 2.1.0

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