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.c-torture/] [execute/] [20090219-1.c] - Blame information for rev 298

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

Line No. Rev Author Line
1 297 jeremybenn
/* On ARM, BAR used to get a bogus number in E due to stack
2
   misalignment.  */
3
 
4
extern void abort (void);
5
extern void exit (int);
6
 
7
void
8
foo (void)
9
{
10
  int f = 0;
11
 
12
  void bar (int a, int b, int c, int d, int e)
13
    {
14
      if (e != 0)
15
        {
16
          f = 1;
17
          abort ();
18
        }
19
    }
20
 
21
  bar (0, 0, 0, 0, 0);
22
}
23
 
24
int
25
main (void)
26
{
27
  foo ();
28
  exit (0);
29
}

powered by: WebSVN 2.1.0

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