]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/32313 (Bootstrap failure running gengtype in stage 2.)
authorDavid Daney <ddaney@avtrex.com>
Tue, 19 Jun 2007 16:36:42 +0000 (16:36 +0000)
committerDavid Daney <daney@gcc.gnu.org>
Tue, 19 Jun 2007 16:36:42 +0000 (16:36 +0000)
PR target/32313
* config/mips/mips.md (cprestore): Mark $gp as used.

From-SVN: r125852

gcc/ChangeLog
gcc/config/mips/mips.md

index 3f990bd313b5b62d86f93675e2dc51a342e28010..a4b7d5d25a1a69110a25799779dca0b753548982 100644 (file)
@@ -1,3 +1,8 @@
+2007-06-19  David Daney  <ddaney@avtrex.com
+
+       PR target/32313
+       * config/mips/mips.md (cprestore): Mark $gp as used.
+
 2007-06-19  Rask Ingemann Lambertsen  <rask@sygehus.dk>
 
        PR target/32369
index b89f5f9852a65683d0239be6f389434b487a63dd..2b3267a1af644a19fe68f83f430c75b0922857dd 100644 (file)
 ;; instruction.  Note that we continue to use .cprestore for explicit reloc
 ;; code so that jals inside inline asms will work correctly.
 (define_insn "cprestore"
-  [(unspec_volatile [(match_operand 0 "const_int_operand" "I,i")]
+  [(unspec_volatile [(match_operand 0 "const_int_operand" "I,i")
+                     (use (reg:SI 28))]
                    UNSPEC_CPRESTORE)]
   ""
 {