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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// Nested try statements shadowing each other was crashing in EH edge redirection.
3
// PR middle-end/40043
4
struct A
5
{
6
  ~A();
7
  void foo();
8
};
9
 
10
void bar()
11
{
12
  A a;
13
 
14
  try
15
  {
16
    A b;
17
 
18
    try
19
    {
20
      b.foo();
21
    }
22
    catch (int) {}
23
  }
24
  catch (int) {}
25
}

powered by: WebSVN 2.1.0

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