From 31082222ebaacf13552df5d0662a84c335c812aa Mon Sep 17 00:00:00 2001 From: macro Date: Wed, 9 May 2012 09:19:44 +0000 Subject: [PATCH] * config/mips/mips.c (mips16_gp_pseudo_reg): Remove line information from the instruction produced. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187319 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 86a59eff846..8479abb029a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-05-09 Maciej W. Rozycki + + * config/mips/mips.c (mips16_gp_pseudo_reg): Remove line + information from the instruction produced. + 2012-05-09 Richard Guenther * stor-layout.c (bit_from_pos): Document. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 239d6f5a760..2e6c3001178 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -2622,7 +2622,8 @@ mips16_gp_pseudo_reg (void) scan = NEXT_INSN (scan); insn = gen_load_const_gp (cfun->machine->mips16_gp_pseudo_rtx); - emit_insn_after (insn, scan); + insn = emit_insn_after (insn, scan); + INSN_LOCATOR (insn) = 0; pop_topmost_sequence (); } -- 2.11.4.GIT