https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109832
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is only arguments which get wrong. That is: bool f(bool &x, bool &y) { return x | y; } Produces: ldrb w2, [x0] ldrb w0, [x1] orr w0, w2, w0 ret This is a dup of bug 101806 then. *** This bug has been marked as a duplicate of bug 101806 ***