http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52530
--- Comment #12 from uros at gcc dot gnu.org 2012-08-01 19:15:04 UTC --- Author: uros Date: Wed Aug 1 19:14:59 2012 New Revision: 190048 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190048 Log: Backport from mainline 2012-03-09 Uros Bizjak <ubiz...@gmail.com> PR target/52530 * config/i386/i386.c (ix86_print_operand): Handle 'E' operand modifier. (ix86_print_operand_address): Handle UNSPEC_LEA_ADDR. Do not fallback to set code to 'q'. * config/i386/i386.md (UNSPEC_LEA_ADDR): New unspec. (*movdi_internal_rex64): Use %E operand modifier for lea. (*movsi_internal): Ditto. (*lea_1): Ditto. (*lea<mode>_2): Ditto. (*lea_{3,4,5,6}_zext): Ditto. (*tls_global_dynamic_32_gnu): Ditto. (*tls_global_dynamic_64): Ditto. (*tls_dynamic_gnu2_lea_32): Ditto. (*tls_dynamic_gnu2_lea_64): Ditto. (pro_epilogue_adjust_stack_<mode>_add): Ditto. testsuite/ChangeLog: Backport from mainline 2012-03-11 Uros Bizjak <ubiz...@gmail.com> PR target/52530 * gcc.dg/torture/pr52530.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr52530.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/config/i386/i386.c branches/gcc-4_7-branch/gcc/config/i386/i386.md branches/gcc-4_7-branch/gcc/testsuite/ChangeLog