From: Alan Modra Date: Tue, 1 Oct 2013 09:55:07 +0000 (+0930) Subject: stmt.c (expand_asm_operands): Revert part of 2013-09-24 special casing inout operands. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9044483164f79fb550603f74e4284532872ed59d;p=gcc.git stmt.c (expand_asm_operands): Revert part of 2013-09-24 special casing inout operands. * stmt.c (expand_asm_operands): Revert part of 2013-09-24 special casing inout operands. From-SVN: r203056 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a810c847c1..064379edeb7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-10-01 Alan Modra + + * stmt.c (expand_asm_operands): Revert part of 2013-09-24 special + casing inout operands. + 2013-10-01 Richard Biener PR tree-optimization/58553 diff --git a/gcc/stmt.c b/gcc/stmt.c index 2e17db1cfae..c385a067e4b 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -807,9 +807,7 @@ expand_asm_operands (tree string, tree outputs, tree inputs, || is_inout) { op = expand_expr (val, NULL_RTX, VOIDmode, - !allows_reg ? EXPAND_MEMORY - : !is_inout ? EXPAND_WRITE - : EXPAND_NORMAL); + !allows_reg ? EXPAND_MEMORY : EXPAND_WRITE); if (MEM_P (op)) op = validize_mem (op);