summaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-10 14:42:05 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-10 14:42:05 +0000
commitc55d3fa54434276d8db9e5f980a906f3b6ec14df (patch)
treec68a8dcc34b9744826ef8bc4e707ebafa99ba49c /gcc/final.c
parent87004871d7faa3b7a55311e4e7c47c12d85cdce2 (diff)
downloadgcc-c55d3fa54434276d8db9e5f980a906f3b6ec14df.tar.gz
error_for_asm and warning_for_asm take const rtx_insn *
gcc/ChangeLog: 2014-09-10 David Malcolm <dmalcolm@redhat.com> * final.c (this_is_asm_operands): Strengthen this variable from rtx to const rtx_insn *. * output.h (this_is_asm_operands): Likewise. * rtl-error.c (location_for_asm): Strengthen param "insn" from const_rtx to const rtx_insn *. (diagnostic_for_asm): Likewise. * rtl-error.h (error_for_asm): Likewise. (warning_for_asm): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215133 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 52791e8d7fa..9275a487bd8 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -151,7 +151,7 @@ extern const int length_unit_log; /* This is defined in insn-attrtab.c. */
/* Nonzero while outputting an `asm' with operands.
This means that inconsistencies are the user's fault, so don't die.
The precise value is the insn being output, to pass to error_for_asm. */
-rtx this_is_asm_operands;
+const rtx_insn *this_is_asm_operands;
/* Number of operands of this insn, for an `asm' with operands. */
static unsigned int insn_noperands;