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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr32540-1.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O3 -ftree-pre" } */
3
 
4
int f(void);
5
void acceptloop_th(int *t) {
6
   int options = 0;
7
   if (f()) options |= 0x1 << 1;
8
   if (f()) options |= 0x1 << 2;
9
   if (f()) options |= 0x1 << 3;
10
   if (f()) options |= 0x1 << 4;
11
   if (f()) options |= 0x1 << 5;
12
   if (f()) options |= 0x1 << 6;
13
   if (f()) options |= 0x1 << 7;
14
   if (f()) options |= 0x1 << 8;
15
   if (f()) options |= 0x1 << 9;
16
   if (f()) options |= 0x1 << 10;
17
   if (f()) options |= 0x1 << 11;
18
   if (f()) options |= 0x1 << 12;
19
   if (f()) options |= 0x1 << 13;
20
   if (f()) options |= 0x1 << 14;
21
   if (f()) options |= 0x1 << 15;
22
#if(__SIZEOF_INT__ >= 4)    
23
   if (f()) options |= 0x1 << 16;
24
   if (f()) options |= 0x1 << 17;
25
   if (f()) options |= 0x1 << 18;
26
   if (f()) options |= 0x1 << 19;
27
   if (f()) options |= 0x1 << 20;
28
   if (f()) options |= 0x1 << 21;
29
   if (f()) options |= 0x1 << 22;
30
   if (f()) options |= 0x1 << 23;
31
   if (f()) options |= 0x1 << 24;
32
   if (f()) options |= 0x1 << 25;
33
   if (f()) options |= 0x1 << 26;
34
#endif
35
   if (f()) *t = options;
36
}

powered by: WebSVN 2.1.0

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