This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/55142] [4.8 Regression] internal compiler error: in plus_constant, at explow.c:88


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55142

--- Comment #38 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-11-19 19:17:17 UTC ---
Author: hjl
Date: Mon Nov 19 19:17:05 2012
New Revision: 193635

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193635
Log:
Workaround PR middle-end/55142

gcc/

2012-11-19  H.J. Lu  <hongjiu.lu@intel.com>

    Backported from mainline
    2012-11-13  Eric Botcazou  <ebotcazou@adacore.com>
            H.J. Lu  <hongjiu.lu@intel.com>

    PR middle-end/55142
    * config/i386/i386.c (legitimize_pic_address): Properly handle
    REG + CONST.
    (ix86_print_operand_address): Set code to 'k' when forcing
    addr32 prefix.  For x32, zero-extend negative displacement if
    it < -16*1024*1024.

gcc/testsuite/

2012-11-19  H.J. Lu  <hongjiu.lu@intel.com>

    Backported from mainline
    2012-11-13  H.J. Lu  <hongjiu.lu@intel.com>

    PR middle-end/55142
    * gcc.target/i386/pr55142-1.c: New file.
    * gcc.target/i386/pr55142-2.c: Likewise.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.target/i386/pr55142-1.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.target/i386/pr55142-2.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/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]