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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [scev-2.c] - Blame information for rev 853

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

Line No. Rev Author Line
1 149 jeremybenn
/* PR tree-optimization/19899 */
2
/* Decrementing a floating-point variable in a loop caused an ICE.  */
3
 
4
/* { dg-do run } */
5
/* { dg-options "-O -ftree-vectorize" } */
6
 
7
extern void abort (void);
8
 
9
int main()
10
{
11
  double a = 20;
12
  int i;
13
 
14
  for (i = 0; i < 10; ++i)
15
    a -= 2;
16
 
17
  if (a)
18
    abort();
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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