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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [reg-stack3.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// PR target/12712
2
// Origin: Markus Schoder 
3
 
4
// This used to segfault on x86 because the reg-stack pass
5
// created an unreachable basic block by purging an outgoing
6
// edge, and was not prepared to handle it.
7
 
8
// { dg-do compile }
9
 
10
struct A
11
{
12
  ~A();
13
  float f(float x);
14
  float g() const {return 0;}
15
};
16
 
17
void h()
18
{
19
  A a, b;
20
  a.f(b.g() + 1);
21
}

powered by: WebSVN 2.1.0

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