From ce19a3f8b0357b2ae36975b47d9ae05ff5fa75eb Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 8 Mar 2012 16:19:32 +0100 Subject: re PR target/52530 (Many 64-bit execution failures on Solaris 10/11 with Sun as) PR target/52530 Revert: 2012-03-04 H.J. Lu * config/i386/i386.c (ix86_print_operand_address): Only handle zero-extended DImode addresses. From-SVN: r185103 --- gcc/ChangeLog | 9 +++++++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3161c39..08ab3c9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2012-03-08 Uros Bizjak + + PR target/52530 + Revert: + 2012-03-04 H.J. Lu + + * config/i386/i386.c (ix86_print_operand_address): Only handle + zero-extended DImode addresses. + 2012-03-08 Rainer Orth * configure.ac (gcc_cv_as_ix86_tlsldmplt): Add label. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 7361df8..666cf15 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -14491,7 +14491,7 @@ ix86_print_operand_address (FILE *file, rtx addr) /* Print SImode registers for zero-extended addresses to force addr32 prefix. Otherwise print DImode registers to avoid it. */ - if (TARGET_64BIT && GET_MODE (addr) == DImode) + if (TARGET_64BIT) code = ((GET_CODE (addr) == ZERO_EXTEND || GET_CODE (addr) == AND) ? 'l' -- cgit v1.1