URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* This used to fail on H8/300 due to incorrect specification of pushi1. */
|
/* This used to fail on H8/300 due to incorrect specification of pushi1. */
|
|
|
/* { dg-do run } */
|
/* { dg-do run } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2 -fomit-frame-pointer" { target h8300-*-* } } */
|
/* { dg-options "-O2 -fomit-frame-pointer" { target h8300-*-* } } */
|
|
|
extern void abort (void);
|
extern void abort (void);
|
extern void exit (int);
|
extern void exit (int);
|
|
|
void
|
void
|
bar (int a, int b, int c, int d, int e)
|
bar (int a, int b, int c, int d, int e)
|
{
|
{
|
if (d != 1)
|
if (d != 1)
|
abort ();
|
abort ();
|
}
|
}
|
|
|
void
|
void
|
foo (int a, int b, int c, int d, int e)
|
foo (int a, int b, int c, int d, int e)
|
{
|
{
|
bar (a, b, c, d, e);
|
bar (a, b, c, d, e);
|
}
|
}
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
foo (0, 0, 0, 1, 2);
|
foo (0, 0, 0, 1, 2);
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.