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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [defarg5.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// Bug: the SAVE_EXPR in the new expression remembers that it's in g(),
3
// causing the compiler to crash in h().
4
 
5
 
6
struct A {
7
  A ();
8
};
9
 
10
void f (A* = new A);
11
 
12
void g ()
13
{
14
  f ();
15
}
16
 
17
void h ()
18
{
19
  f ();
20
}

powered by: WebSVN 2.1.0

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