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 target/53811] ICE: in insn_default_length, at config/i386/i386.md:529 (unrecognizable insn) with -mcmodel=large


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

--- Comment #9 from uros at gcc dot gnu.org 2012-07-10 17:53:53 UTC ---
Author: uros
Date: Tue Jul 10 17:53:48 2012
New Revision: 189412

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189412
Log:
    Backport from mainline
    2012-07-03  Uros Bizjak  <ubizjak@gmail.com>

    PR target/53811
    * config/i386/i386.c (x86_output_mi_thunk): Check if fnaddr satisfies
    sibcall_insn_operand.  Move it to a temporary register if not.

    2012-07-06  Uros Bizjak  <ubizjak@gmail.com>

    PR target/53853
    * config/i386/i386.c (x86_output_mi_thunk): For CM_LARGE_PIC model,
    emit PIC sequence for fnaddr symbol reference in advance.

testsuite/ChangeLog:

    Backport from mainline
    2012-07-03  Uros Bizjak  <ubizjak@gmail.com>

    PR target/53811
    * g++.dg/other/pr53811.C: New test.


Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/other/pr53811.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]