This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Thumb PIC
- To: Nick Clifton <nickc at cygnus dot com>
- Subject: Re: Thumb PIC
- From: Philip Blundell <pb at nexus dot co dot uk>
- Date: Mon, 26 Jul 1999 17:32:58 +0100
- cc: gcc-patches at gcc dot gnu dot org
>: +(define_insn "pic_add_dot_plus_four"
>: + [(set (match_operand 0 "register_operand" "+r")
>: + (plus:SI (match_dup 0) (const (plus:SI (pc) (const_int 8)))))
>: + (use (label_ref (match_operand 1 "" "")))]
>
>Shouldn' this be:
>
>: +(define_insn "pic_add_dot_plus_four"
>: + [(set (match_operand 0 "register_operand" "+r")
>: + (plus:SI (match_dup 0) (const (plus:SI (pc) (const_int 4)))))
>: + (use (label_ref (match_operand 1 "" "")))] ^
Yes, of course you're right. Thanks.
p.