]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/mips/mips.c (mips16_gp_pseudo_reg): Remove line
authormacro <macro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2012 09:19:44 +0000 (09:19 +0000)
committermacro <macro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 May 2012 09:19:44 +0000 (09:19 +0000)
information from the instruction produced.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187319 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 86a59eff84678742e8718180f3d0c0d05705306f..8479abb029ac802795206fc7ea0ecea553999e84 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 239d6f5a7608bd91ce93738d09359176704b76a9..2e6c3001178d72ac22105dd4e377ebf8fedcc138 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 ();
     }