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/] [eh/] [080514-1.C] - Blame information for rev 308

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

Line No. Rev Author Line
1 301 jeremybenn
// This used to fail on s390 due to cse removing an insn with a
2
// REG_EH_REGION without deleting the EH edge.
3
// { dg-do compile }
4
// { dg-options "-O2 -fnon-call-exceptions" }
5
 
6
void
7
run (int m, double d)
8
{
9
  int stack[m];
10
  int *sp = stack;
11
 
12
  if (d == 1.0)
13
    *(sp++) = (0);
14
  else if (d < 1.0)
15
    *(sp++) = (-1);
16
}

powered by: WebSVN 2.1.0

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