Commit 35897831 by Andrew Pinski Committed by Andrew Pinski

re PR tree-optimization/17902 (ICE from tree_verify_flow_info)

2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/17902
        * g++.dg/opt/pr17902.C: New test.

From-SVN: r88802
parent 227c4bc7
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17902
* g++.dg/opt/pr17902.C: New test.
2004-10-09 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/cpp/ident-1.c: Add dg-options "".
......
/* { dg-options "-O3" } */
/* { dg-do compiler } */
void foo();
struct A { ~A(){ foo(); } };
struct B { A a; };
void bar()
{
A a;
bool b = false;
int i, j;
for (j=0; j<i; j++)
{
if (i) b=true;
if (j && i) foo();
if (j && i) i++;
}
for (j=0; j<i; j++)
if ( !j || (j==1 && b && i) )
B x;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment