diff mbox

[alpha] Revert input_operand change for vms

Message ID 4D8BE862.5010201@redhat.com
State New
Headers show

Commit Message

Richard Henderson March 25, 2011, 12:57 a.m. UTC
On 03/24/2011 05:06 PM, Richard Henderson wrote:
> While purging Windows code, I failed to remember that VMS has a 32-bit
> mode as well, and thus this line still matters.

Bah.  This patch, not the other one.


r~
commit 3351cef043c126925829c9b414a087251dc67e45
Author: rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Fri Mar 25 00:04:19 2011 +0000

    alpha: Revert change to input_operand for 32-bit vms.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171428 138bc75d-0d04-0410-961f-82ee72b054a4
diff mbox

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 85c45b6..aef5088 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@ 
+2011-02-24  Richard Henderson  <rth@redhat.com>
+
+	* config/alpha/predicates.md (input_operand): Revert last change;
+	update comment to mention 32-bit VMS rather than Windows.
+
 2011-03-24  Nathan Froyd  <froydnj@codesourcery.com>
 
 	* function.c (instantiate_virtual_regs): Use FOR_EACH_BB and
diff --git a/gcc/config/alpha/predicates.md b/gcc/config/alpha/predicates.md
index 9514b8a..da76d4f 100644
--- a/gcc/config/alpha/predicates.md
+++ b/gcc/config/alpha/predicates.md
@@ -195,7 +195,8 @@ 
 		  || gotdtp_symbolic_operand (op, mode)
 		  || gottp_symbolic_operand (op, mode));
 	}
-      return mode == Pmode;
+      /* VMS still has a 32-bit mode.  */
+      return mode == ptr_mode || mode == Pmode;
 
     case HIGH:
       return (TARGET_EXPLICIT_RELOCS