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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr36015.c] - Blame information for rev 298

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

Line No. Rev Author Line
1 298 jeremybenn
/* PR target/36015 */
2
/* { dg-do run } */
3
/* { dg-options "-O0" } */
4
/* { dg-options "-O0 -mregparm=3" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
5
 
6
static int test ();
7
 
8
int
9
main (void)
10
{
11
  test (0, 1, 2, 3, 4, 5, 6, 7);
12
  return 0;
13
}
14
 
15
static int
16
test (int a, int b, int c, int d, int e, int f, int g, int h)
17
{
18
  if (a != 0 || b != 1 || c != 2 || d != 3
19
      || e != 4 || f != 5 || g != 6 || h != 7)
20
    __builtin_abort ();
21
  return 0;
22
}

powered by: WebSVN 2.1.0

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