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.dg/] [pr36194.c] - Blame information for rev 328

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
 
4
void abort (void);
5
 
6
__attribute__ ((noinline)) void
7
f (int i)
8
{
9
#if(__SIZEOF_INT__ >= 4)
10
  if (i != 0x87654321)
11
#else
12
  if (i != 0x4321)
13
#endif
14
    abort ();
15
  asm ("");
16
}
17
 
18
__attribute__ ((noinline)) void
19
g (long long a)
20
{
21
  f (a);
22
  asm ("");
23
}
24
 
25
main ()
26
{
27
  g (0x1234567887654321ll);
28
  return 0;
29
}

powered by: WebSVN 2.1.0

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