Patchwork Fix IA-64 bootstrap with RTL checking

login
register
mail settings
Submitter Eric Botcazou
Date Aug. 28, 2010, 8:08 p.m.
Message ID <201008282208.47150.ebotcazou@adacore.com>
Download mbox | patch
Permalink /patch/62923/
State New
Headers show

Comments

Eric Botcazou - Aug. 28, 2010, 8:08 p.m.
The compiler doesn't bootstrap on IA-64 with RTL checking, both on mainline 
and 4.5 branch, because of a thinko in the new cstorebi4 expander.

Bootstrapped with RTL checking on mainline and 4.5 branch, applied as obvious.


2010-08-28  Eric Botcazou  <ebotcazou@adacore.com>

	* config/ia64/ia64.md (cstorebi4): Fix thinko.

Patch

Index: config/ia64/ia64.md
===================================================================
--- config/ia64/ia64.md	(revision 163393)
+++ config/ia64/ia64.md	(working copy)
@@ -3988,7 +3988,7 @@  (define_expand "cstorebi4"
 		       [(match_operand:BI 2 "register_operand" "")
 	                (match_operand:BI 3 "const_int_operand" "")]))]
   ""
-  "ia64_expand_compare (&operands[0], &operands[1], &operands[2]);")
+  "ia64_expand_compare (&operands[1], &operands[2], &operands[3]);")
 
 (define_expand "cstoresi4"
   [(set (match_operand:DI 0 "gr_register_operand" "")