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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [20020210-1.c] - Blame information for rev 754

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

Line No. Rev Author Line
1 689 jeremybenn
/* This used to fail on H8/300 due to incorrect specification of pushi1.  */
2
 
3
/* { dg-do run } */
4
/* { dg-options "-O2" } */
5
/* { dg-options "-O2 -fomit-frame-pointer" { target h8300-*-* } } */
6
 
7
extern void abort (void);
8
extern void exit (int);
9
 
10
void
11
bar (int a, int b, int c, int d, int e)
12
{
13
  if (d != 1)
14
    abort ();
15
}
16
 
17
void
18
foo (int a, int b, int c, int d, int e)
19
{
20
  bar (a, b, c, d, e);
21
}
22
 
23
int
24
main ()
25
{
26
  foo (0, 0, 0, 1, 2);
27
  exit (0);
28
}

powered by: WebSVN 2.1.0

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