OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr38926.c] - Blame information for rev 300

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

Line No. Rev Author Line
1 297 jeremybenn
static inline int foo (unsigned _si1)
2
{
3
  if (_si1 != 0)
4
    if (_si1 > 2147483647)
5
      return 1;
6
  return 0;
7
}
8
 
9
static inline unsigned bar (unsigned _left, int _right)
10
{
11
  return (unsigned) _right >= 8 ? 1 : _left >> _right;
12
}
13
 
14
unsigned g_2;
15
unsigned g_67;
16
volatile unsigned g_162;
17
 
18
static inline int func_62 (unsigned p_63)
19
{
20
  p_63 = g_2 & g_67;
21
  if (g_2)
22
    ;
23
  else if (p_63)
24
    return 1;
25
  g_67 = bar (p_63, g_2);
26
  return 0;
27
}
28
 
29
unsigned baz (void)
30
{
31
  if (g_2)
32
    for (; g_2 <= -16; g_2 = foo (g_2))
33
      {
34
        for (; g_162; g_162)
35
          func_62 (func_62 (0));
36
        if (g_67)
37
          break;
38
      }
39
  return g_2;
40
}
41
 

powered by: WebSVN 2.1.0

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