aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@codesourcery.com>2012-05-09 09:19:44 +0000
committerMaciej W. Rozycki <macro@gcc.gnu.org>2012-05-09 09:19:44 +0000
commit45d05c5fecb93383a55db7c024e3ccb3137fe4a5 (patch)
treec44542c53f0600c8175e0e8ed761b32a1f6accf6
parent2af273018e6b0ec2053197d370da4b4e1ca85d37 (diff)
downloadgcc-45d05c5fecb93383a55db7c024e3ccb3137fe4a5.zip
gcc-45d05c5fecb93383a55db7c024e3ccb3137fe4a5.tar.gz
gcc-45d05c5fecb93383a55db7c024e3ccb3137fe4a5.tar.bz2
mips.c (mips16_gp_pseudo_reg): Remove line information from the instruction produced.
* config/mips/mips.c (mips16_gp_pseudo_reg): Remove line information from the instruction produced. From-SVN: r187319
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 86a59ef..8479abb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * config/mips/mips.c (mips16_gp_pseudo_reg): Remove line
+ information from the instruction produced.
+
2012-05-09 Richard Guenther <rguenther@suse.de>
* stor-layout.c (bit_from_pos): Document.
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 239d6f5..2e6c300 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 ();
}