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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [pr24231-2.C] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2" } */
/* FRE testcase for PR 24231, problem with PRE coalescing abnormal phis.  */
/* FRE testcase for PR 24231, problem with PRE coalescing abnormal phis.  */
struct f
struct f
{
{
  int i;
  int i;
};
};
struct h{h();};
struct h{h();};
int g(void);
int g(void);
int g1(void) throw();
int g1(void) throw();
int h2222(f*);
int h2222(f*);
void ghh(int);
void ghh(int);
int main(void)
int main(void)
{
{
  int i;
  int i;
  f t;
  f t;
  try
  try
  {
  {
    i = g1();
    i = g1();
    try
    try
    {
    {
      i = g();
      i = g();
    }catch(...)
    }catch(...)
    {}
    {}
    int j = i;
    int j = i;
    try
    try
    {
    {
      i = g();
      i = g();
    }catch(...)
    }catch(...)
    {}
    {}
    t.i = j;
    t.i = j;
    i = 2;
    i = 2;
    int h = t.i;
    int h = t.i;
    ghh (h);
    ghh (h);
    g();
    g();
  }catch(...)
  }catch(...)
  {}
  {}
  return i;
  return i;
}
}
 
 

powered by: WebSVN 2.1.0

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