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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [fold-compare-2.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fno-tree-tail-merge -fdump-tree-vrp1" } */
3
 
4
extern void abort (void);
5
 
6
int a;
7
 
8
int
9
main(void)
10
{
11
  if (a * 1000 < 0)
12
    abort ();
13
  if (a * -43 > 0)
14
    abort ();
15
  return 0;
16
}
17
 
18
/* { dg-final { scan-tree-dump-times "Removing basic block" 2 "vrp1" } } */
19
/* { dg-final { cleanup-tree-dump "vrp1" } } */
20
 

powered by: WebSVN 2.1.0

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