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++.dg/] [torture/] [pr37456.C] - Diff between revs 301 and 384

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

Rev 301 Rev 384
/* { dg-do compile } */
/* { dg-do compile } */
int zot(int);
int zot(int);
struct bar {
struct bar {
  ~bar() { }
  ~bar() { }
};
};
int x;
int x;
void doit(int a, int b, int c)
void doit(int a, int b, int c)
{
{
  bar pn;
  bar pn;
  int b1 = zot(a) * c;
  int b1 = zot(a) * c;
  int b2 = zot(b) * c;
  int b2 = zot(b) * c;
  x = b1 + b2;
  x = b1 + b2;
}
}
 
 

powered by: WebSVN 2.1.0

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