This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix 2 pastos in sparc.md


Compiled and tested on sparc-sun-solaris2.8.  It fixes

FAIL: gcc.dg/tls/nonpic-1.c (test for excess errors)
FAIL: gcc.dg/tls/opt-4.c (test for excess errors)
FAIL: gcc.dg/tls/opt-5.c (test for excess errors)
FAIL: gcc.dg/tls/opt-6.c (test for excess errors)
FAIL: gcc.dg/tls/opt-7.c (test for excess errors)

Applied to mainline.


2004-01-14  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* config/sparc/sparc.md (tie_add32): Fix pasto.
	(tie_add64): Likewise.


-- 
Eric Botcazou
Index: config/sparc/sparc.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/sparc.md,v
retrieving revision 1.195
diff -u -r1.195 sparc.md
--- config/sparc/sparc.md	13 Dec 2003 04:44:12 -0000	1.195
+++ config/sparc/sparc.md	14 Jan 2004 09:39:46 -0000
@@ -8597,7 +8597,7 @@
   [(set (match_operand:SI 0 "register_operand" "=r")
 	(plus:SI (match_operand:SI 1 "register_operand" "r")
 		 (unspec:SI [(match_operand:SI 2 "register_operand" "r")
-			     (match_operand 3 "tld_symbolic_operand" "")]
+			     (match_operand 3 "tie_symbolic_operand" "")]
 			    UNSPEC_TLSIE)))]
   "TARGET_SUN_TLS && TARGET_ARCH32"
   "add\\t%1, %2, %0, %%tie_add(%a3)")
@@ -8606,7 +8606,7 @@
   [(set (match_operand:DI 0 "register_operand" "=r")
 	(plus:DI (match_operand:DI 1 "register_operand" "r")
 		 (unspec:DI [(match_operand:DI 2 "register_operand" "r")
-			     (match_operand 3 "tld_symbolic_operand" "")]
+			     (match_operand 3 "tie_symbolic_operand" "")]
 			    UNSPEC_TLSIE)))]
   "TARGET_SUN_TLS && TARGET_ARCH64"
   "add\\t%1, %2, %0, %%tie_add(%a3)")

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]