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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr49073.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 688 jeremybenn
/* PR tree-optimization/49073 */
2
 
3
extern void abort (void);
4
int a[] = { 1, 2, 3, 4, 5, 6, 7 }, c;
5
 
6
int
7
main ()
8
{
9
  int d = 1, i = 1;
10
  _Bool f = 0;
11
  do
12
    {
13
      d = a[i];
14
      if (f && d == 4)
15
        {
16
          ++c;
17
          break;
18
        }
19
      i++;
20
      f = (d == 3);
21
    }
22
  while (d < 7);
23
  if (c != 1)
24
    abort ();
25
  return 0;
26
}

powered by: WebSVN 2.1.0

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