From 21d09454a90bf8c367ce4aa8a7a385fe2780562a Mon Sep 17 00:00:00 2001 From: David Daney Date: Tue, 19 Jun 2007 16:36:42 +0000 Subject: [PATCH] re PR target/32313 (Bootstrap failure running gengtype in stage 2.) PR target/32313 * config/mips/mips.md (cprestore): Mark $gp as used. From-SVN: r125852 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.md | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3f990bd313b..a4b7d5d25a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-06-19 David Daney PR target/32369 diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index b89f5f9852a..2b3267a1af6 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -4159,7 +4159,8 @@ ;; 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)] "" { -- 2.11.4.GIT