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 rtl-optimization/66412] [5/6 Regression] ICE on valid code at -O2 and -O3 with -g enabled in simplify_subreg, at simplify-rtx.c:5748


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66412

--- Comment #11 from uros at gcc dot gnu.org ---
Author: uros
Date: Sat Jun 27 09:16:42 2015
New Revision: 225096

URL: https://gcc.gnu.org/viewcvs?rev=225096&root=gcc&view=rev
Log:
        PR target/66412
        * config/i386/i386.md (various splitters): Use shallow_copy_rtx
        before doing PUT_MODE or PUT_CODE on operands to avoid
        in-place RTX modification.

testsuite/ChangeLog:

        PR target/66412
        * gcc.target/i386/pr66412.c: New test.


Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/pr66412.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/config/i386/i386.md
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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