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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR rtl-optimization/50212
2
// { dg-do compile }
3
// { dg-require-effective-target freorder }
4
// { dg-options "-O -fnon-call-exceptions -ftrapv -freorder-blocks-and-partition" }
5
 
6
void
7
foo (int n)
8
{
9
  try
10
  {
11
    int i = 0;
12
    while (i++ < n);
13
  }
14
  catch (...)
15
  {
16
  }
17
}

powered by: WebSVN 2.1.0

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