]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
stmt.c (expand_asm_operands): Revert part of 2013-09-24 special casing inout operands.
authorAlan Modra <amodra@gmail.com>
Tue, 1 Oct 2013 09:55:07 +0000 (19:25 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 1 Oct 2013 09:55:07 +0000 (19:25 +0930)
* stmt.c (expand_asm_operands): Revert part of 2013-09-24 special
casing inout operands.

From-SVN: r203056

gcc/ChangeLog
gcc/stmt.c

index 3a810c847c1b8a392dd061e1ed23aec642ae89a9..064379edeb79cc4dd42eebfe491b3506ab6ffd96 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-01  Alan Modra  <amodra@gmail.com>
+
+       * stmt.c (expand_asm_operands): Revert part of 2013-09-24 special
+       casing inout operands.
+
 2013-10-01  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/58553
index 2e17db1cfae5e8f590ba29195534ec1370d36235..c385a067e4b11cc7acf17430debd6e1ce939faee 100644 (file)
@@ -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);