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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr23714.C] - Blame information for rev 316

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

Line No. Rev Author Line
1 301 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.