http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60080

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.edlinger at hotmail dot 
de

--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Richard,

how about this?

--- gcc/cfgexpand.c.jj    2014-01-09 21:12:36.000000000 +0100
+++ gcc/cfgexpand.c    2014-02-06 13:01:09.280392442 +0100
@@ -2678,8 +2678,9 @@ expand_asm_operands (tree string, tree o
       ASM_OPERANDS_INPUT (body, i) = op;

       ASM_OPERANDS_INPUT_CONSTRAINT_EXP (body, i)
-    = gen_rtx_ASM_INPUT (TYPE_MODE (type),
-                 ggc_strdup (constraints[i + noutputs]));
+    = gen_rtx_ASM_INPUT_loc (TYPE_MODE (type),
+                 ggc_strdup (constraints[i + noutputs]),
+                 locus);

       if (tree_conflicts_with_clobbers_p (val, &clobbered_regs))
     clobber_conflict_found = 1;
@@ -2701,7 +2702,7 @@ expand_asm_operands (tree string, tree o

       sprintf (buffer, "%d", j);
       ASM_OPERANDS_INPUT_CONSTRAINT_EXP (body, ninputs - ninout + i)
-    = gen_rtx_ASM_INPUT (inout_mode[i], ggc_strdup (buffer));
+    = gen_rtx_ASM_INPUT_loc (inout_mode[i], ggc_strdup (buffer), locus);
     }

   /* Copy labels to the vector.  */

Reply via email to