https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114967
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=107888 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- We are able to handle this: ``` void func1(bool f, unsigned char a) { int t = f; int tt = -a; int ttt = t <= tt ? t : tt; n = ttt; } ``` And we able to handle func if we disable evrp. So yes the issue is the same as what I mentioned. Basically this is what I mentioned in bug 107888 comment #2 . But in the original testcase in bug 107888 was able to be handled differently, it is the other testcase that still needs to be handled.