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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20031011-1.c] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
/* PR optimization/12544 */
/* PR optimization/12544 */
/* Origin: Tony Hosking <hosking@cs.purdue.edu> */
/* Origin: Tony Hosking <hosking@cs.purdue.edu> */
 
 
/* Verify that non-local structures passed by invisible
/* Verify that non-local structures passed by invisible
   reference are correctly put in the stack.  */
   reference are correctly put in the stack.  */
 
 
typedef struct {
typedef struct {
  int a;
  int a;
  int f;
  int f;
} A;
} A;
 
 
A *b;
A *b;
 
 
void x (A a) {
void x (A a) {
  void y () {
  void y () {
    a.a = 0;
    a.a = 0;
  }
  }
 
 
  b = &a;
  b = &a;
  y();
  y();
}
}
 
 

powered by: WebSVN 2.1.0

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