summaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-10-01 19:25:07 +0930
committerAlan Modra <amodra@gcc.gnu.org>2013-10-01 19:25:07 +0930
commit9044483164f79fb550603f74e4284532872ed59d (patch)
tree5bb9ea6dbfb4f3c8a77f553fe80ebc0131c6547e /gcc/stmt.c
parentf1557372804d6b0cbdf1049d8a20c00b54a67d47 (diff)
downloadgcc-9044483164f79fb550603f74e4284532872ed59d.tar.gz
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
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c4
1 files changed, 1 insertions, 3 deletions
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);