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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [nothrow-1.C] - Blame information for rev 853

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-cfg" } */
3
/* { dg-skip-if "" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
4
double a;
5
void t()
6
{
7
        a=1;
8
}
9
void t1(void);
10
void abort(void);
11
 
12
void q()
13
{
14
        try {
15
                t();
16
        }
17
        catch (...) {abort();}
18
}
19
/* We shouldnotice nothrow attribute.  */
20
/* { dg-final { scan-tree-dump-times "exception" 0 "cfg"} } */
21
/* { dg-final { cleanup-tree-dump "cfg" } } */

powered by: WebSVN 2.1.0

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