diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2014-02-10 18:19:01 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2014-02-10 18:19:01 +0000 |
commit | e2fc3b4f329d0e214b18d6f4a8ffa705da6c695f (patch) | |
tree | 263ae58025f3ef32705aa60e81faeec9d6d3466b /gcc/cfgexpand.c | |
parent | 3a22ad890b654fae0dc7cdd1a7c304059fb48a19 (diff) | |
download | gcc-e2fc3b4f329d0e214b18d6f4a8ffa705da6c695f.zip gcc-e2fc3b4f329d0e214b18d6f4a8ffa705da6c695f.tar.gz gcc-e2fc3b4f329d0e214b18d6f4a8ffa705da6c695f.tar.bz2 |
re PR middle-end/60080 (gcc.dg/vect/vect-nop-move.c FAILs)
2014-02-10 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR middle-end/60080
* cfgexpand.c (expand_asm_operands): Attach source location to
ASM_INPUT rtx objects.
* print-rtl.c (print_rtx): Check for UNKNOWN_LOCATION.
From-SVN: r207668
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index c0cbeb3..06d494c 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -2678,8 +2678,9 @@ expand_asm_operands (tree string, tree outputs, tree inputs, 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 outputs, tree inputs, 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. */ |