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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note clang/LLVM can optimize the case where j/k are constants but gcc still
does not. e.g.
```
int f2(int i, int j, int k)
{
        j = 1;
        k = 2;
        int t = i+j;
        int t1 = i+k;
        return t > t1 ? t : t1;
}
```

Reply via email to