~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to ld/testsuite/ld-empic/relax2.c

  • Committer: Bazaar Package Importer
  • Author(s): James Troup
  • Date: 2004-05-19 10:35:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040519103544-17h3o6e8pwndydrg
Tags: 2.14.90.0.7-8
debian/rules: don't use gcc-2.95 on m68k.  Thanks to Adam Conrad for
pointing this out.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Second source file in relaxation test.  */
 
2
 
 
3
int bar2 ()
 
4
{
 
5
  int i;
 
6
 
 
7
  for (i = 0; i < 100; i++)
 
8
    foo ();
 
9
  return foo () + foo () + foo () + foo ();
 
10
}
 
11
 
 
12
int bar (int i)
 
13
{
 
14
  while (1)
 
15
    if (i)
 
16
      return foo ();
 
17
    else
 
18
      return foo ();
 
19
}