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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [eh/] [cleanup4.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR 16254
2
// { dg-do compile }
3
// We lost a CLEANUP_POINT_EXPR, leading to a crash destroying temp of A.
4
 
5
struct A
6
{
7
  ~A ();
8
  A (int);
9
};
10
 
11
int bar (const A &);
12
 
13
void
14
foo (int i)
15
{
16
  int format[1] = { bar (A (i)) };
17
}

powered by: WebSVN 2.1.0

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