This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix typo in PA floatunssisf2 expander
- To: gcc-patches at gcc dot gnu dot org
- Subject: Fix typo in PA floatunssisf2 expander
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Mon, 29 Oct 2001 12:56:03 -0500 (EST)
The following patch corrects what looks to be a cut and paste error in the
PA floatunssisf2 expander. It fixes the failure of the conversion.c
test in the testsuite. Bootstrapped and tested with no regressions on
hppa1.1-hp-hpux10.20.
OK?
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
2001-10-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
--- pa.md.orig Fri Oct 26 16:03:12 2001
+++ pa.md Sun Oct 28 16:03:04 2001
@@ -3500,7 +3500,7 @@
(define_expand "floatunssisf2"
[(set (subreg:SI (match_dup 2) 4)
(match_operand:SI 1 "register_operand" ""))
- (set (subreg:SI (match_dup 2) 4)
+ (set (subreg:SI (match_dup 2) 0)
(const_int 0))
(set (match_operand:SF 0 "register_operand" "")
(float:SF (match_dup 2)))]