OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [local-alloc1.C] - Diff between revs 305 and 384

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

Rev 305 Rev 384
// { dg-do assemble { target fpic } }
// { dg-do assemble { target fpic } }
// { dg-options "-O0 -fpic" }
// { dg-options "-O0 -fpic" }
// { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } { "*" } { "" } }
// { dg-skip-if "requires unsupported run-time relocation" { spu-*-* } { "*" } { "" } }
// Origin: Jakub Jelinek 
// Origin: Jakub Jelinek 
struct bar {
struct bar {
  bar() {}
  bar() {}
  double x[3];
  double x[3];
};
};
static bar y[4];
static bar y[4];
void foo(int z)
void foo(int z)
{
{
  bar w;
  bar w;
  y[z] = w;
  y[z] = w;
}
}
 
 

powered by: WebSVN 2.1.0

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