From: Uros Bizjak Date: Thu, 8 Mar 2012 15:19:32 +0000 (+0100) Subject: re PR target/52530 (Many 64-bit execution failures on Solaris 10/11 with Sun as) X-Git-Tag: misc/gccgo-go1_1_2~4122 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce19a3f8b0357b2ae36975b47d9ae05ff5fa75eb;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3161c3964727..08ab3c9231c1 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 7361df894a42..666cf15cdf3f 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'