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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [eh/] [080514-1.C] - Blame information for rev 751

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

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