* config/i386/i386.c (output_387_binary_op): Use std::swap.
From-SVN: r219204
+2015-01-05 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.c (output_387_binary_op): Use std::swap.
+
2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
* rtlanal.c (refers_to_regno_p): Change return value from int to bool.
* config/pa/predicates.md (reg_before_reload_operand): Tighten
predicate to reject register index and LO_SUM DLT memory forms
after reload.
-
+
2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
* doc/invoke.texi (Option Summary): Fix spelling of
case MULT:
case PLUS:
if (REG_P (operands[2]) && REGNO (operands[0]) == REGNO (operands[2]))
- {
- rtx temp = operands[2];
- operands[2] = operands[1];
- operands[1] = temp;
- }
+ std::swap (operands[1], operands[2]);
/* know operands[0] == operands[1]. */