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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr47639.c] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// { dg-options "-fnon-call-exceptions" }
3
 
4
typedef int __attribute__ ((vector_size (8))) vec;
5
 
6
vec foo (vec v1, vec v2)
7
{
8
  try
9
    {
10
      return v1 / v2;
11
    }
12
  catch (...)
13
    {
14
      throw;
15
    }
16
}
17
 

powered by: WebSVN 2.1.0

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