https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112814
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://github.com/llvm/llv | |m-project/issues/73904 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Similarly: ``` int f(int a, int b, int c) { int d, e; return (c ? a : b) + (c ? b : a); } ``` Note the above could be done using a match pattern. catching it before gimplification.