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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr23714.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 "-O2 -fnon-call-exceptions" }
3
 
4
void run (void) {
5
  float stack[1];
6
  float *sp = stack;
7
  try
8
  {
9
    float value2 = ((float) *(--sp));
10
    float value1 = ((float) *(--sp));
11
    *(sp++) = (value1 - value2);
12
  }
13
  catch (int *ex)
14
  {
15
  }
16
}

powered by: WebSVN 2.1.0

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