summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-empic/relax2.c
blob: 58854a03aa9faceca59d38d6bb0a5cce3917c378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Second source file in relaxation test.  */

int bar2 ()
{
  int i;

  for (i = 0; i < 100; i++)
    foo ();
  return foo () + foo () + foo () + foo ();
}

int bar (int i)
{
  while (1)
    if (i)
      return foo ();
    else
      return foo ();
}