mips.c (mips16_gp_pseudo_reg): Remove line information from the instruction produced.
authorMaciej W. Rozycki <macro@codesourcery.com>
Wed, 9 May 2012 09:19:44 +0000 (09:19 +0000)
committerMaciej W. Rozycki <macro@gcc.gnu.org>
Wed, 9 May 2012 09:19:44 +0000 (09:19 +0000)
* config/mips/mips.c (mips16_gp_pseudo_reg): Remove line
information from the instruction produced.

From-SVN: r187319

gcc/ChangeLog
gcc/config/mips/mips.c

index 86a59ef..8479abb 100644 (file)
@@ -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.
index 239d6f5..2e6c300 100644 (file)
@@ -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 ();
     }