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/] [pr36508.c] - Blame information for rev 313

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

Line No. Rev Author Line
1 298 jeremybenn
/* PR tree-optimization/36508 */
2
/* { dg-do compile } */
3
/* { dg-options "-O -ftree-pre" } */
4
 
5
void
6
foo (short *sp)
7
{
8
  int k;
9
  k = 1;
10
#define SP0 *sp++ = 1;
11
  while (1)
12
    {
13
      if (k > 6)
14
        break;
15
      SP0
16
      k++;
17
    }
18
  k = 1;
19
  while (1)
20
    {
21
      if (k > 6)
22
        break;
23
      SP0
24
      k++;
25
    }
26
#define SP1 SP0 SP0 SP0 SP0 SP0 SP0 SP0 SP0 SP0 SP0 SP0
27
#define SP2 SP1 SP1 SP1 SP1 SP1 SP1 SP1 SP1 SP1 SP1 SP1
28
  SP2
29
}

powered by: WebSVN 2.1.0

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