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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [nothrow-1.C] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-cfg" } */
/* { dg-options "-O1 -fdump-tree-cfg" } */
/* { dg-skip-if "" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
/* { dg-skip-if "" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
double a;
double a;
void t()
void t()
{
{
        a=1;
        a=1;
}
}
void t1(void);
void t1(void);
void abort(void);
void abort(void);
void q()
void q()
{
{
        try {
        try {
                t();
                t();
        }
        }
        catch (...) {abort();}
        catch (...) {abort();}
}
}
/* We shouldnotice nothrow attribute.  */
/* We shouldnotice nothrow attribute.  */
/* { dg-final { scan-tree-dump-times "exception" 0 "cfg"} } */
/* { dg-final { scan-tree-dump-times "exception" 0 "cfg"} } */
/* { dg-final { cleanup-tree-dump "cfg" } } */
/* { 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.