blob: 7dd614c0af6beb68c399d43c3cbbd46d555ba470 [file] [log] [blame]
/* PR tree-optimization/33434 */
/* { dg-do run } */
/* { dg-options "-O2" } */
int k;
void f1 (int a)
{
int b;
a = 1;
b = 1;
if (a)
while (b --)
k = 1;
else
if (b != 1)
__builtin_abort ();
}
int main (void)
{
f1 (1);
if (k != 1)
__builtin_abort ();
return 0;
}