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/] [20030811-1.c] - Rev 297

Compare with Previous | Blame | View Log

/* Origin: PR target/11535 from H. J. Lu <hjl@lucon.org> */
 
void vararg (int i, ...)
{
  (void) i;
}
 
int i0[0], i1;
 
void test1 (void)
{
  int a = (int) (long long) __builtin_return_address (0);
  vararg (0, a);
}
 
void test2 (void)
{
  i0[0] = (int) (long long) __builtin_return_address (0);
}
 
void test3 (void)
{
  i1 = (int) (long long) __builtin_return_address (0);
}
 
void test4 (void)
{
  volatile long long a = (long long) __builtin_return_address (0);
  i0[0] = (int) a;
}
 
int main (void)
{
  return 0;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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