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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
If we change this into a gimple testcase:
```
__GIMPLE
int g(int a, int b)
{
  bool t1;
  int t;
  t1 = a == 10;
  t = t1 ? _Literal (int) -1 : 1;
  t = t * b;
  return t;
}
```

We get the mult instead of a conditional neg too.

Reply via email to