https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126043

--- Comment #5 from Drea Pinski <pinskia at gcc dot gnu.org> ---
I Messed up on a few but in the direction that they are testcase issues with
the changed phiopt:

>Looks like pr21090.c is the same.

Actually that works, just the testcase needs some slight changing:
```
Folding statement: _1 = p_2 != 0B;
Queued stmt for removal.  Folds to: 1
```

>vrp33.c looks to be similar.
This also is working correctly, just a testcase issue:

```
Folding statement: _4 = x_6(D) == 1;
Queued stmt for removal.  Folds to: 0

```

So you can either disable phiopt1 for these testcases or change them to test
stuff better.
My suggestion is add a new testcase without phiopt1 disable; calling a function
and disable phiopt1 for the current versions.

Reply via email to