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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// Test that we have one EH cleanup region for the whole array
2
// rather than one for each element.
3
// { dg-options "-fdump-tree-gimple" }
4
 
5
struct A
6
{
7
  A();
8
  ~A();
9
};
10
 
11
void f()
12
{
13
  A a[10] = { };
14
}
15
 
16
// { dg-final { scan-tree-dump-times "catch" 1 "gimple" } }
17
// { dg-final { cleanup-tree-dump "gimple" } }

powered by: WebSVN 2.1.0

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