https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108818
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-02-16 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed, note it is only related to return/argument passing really. That is the following does not produce any extra mov's: ``` void sel(unsigned *X) { *X = *X == 6 ? 6 : 8; } ``` Was this a reducation of a bigger application? Or was it found by making testcases?