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/83723] [8 Regression] ICE: in gen_rtx_SUBREG, at emit-rtl.c:1010


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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 16 09:04:00 2018
New Revision: 257725

URL: https://gcc.gnu.org/viewcvs?rev=257725&root=gcc&view=rev
Log:
        PR rtl-optimization/83723
        * lra-int.h (lra_substitute_pseudo): Add DEBUG_P argument.
        * lra.c (lra_substitute_pseudo): Likewise.  If true, use
        gen_rtx_raw_SUBREG instead of gen_rtx_SUBREG.  Pass DEBUG_P to
        recursive calls.
        (lra_substitute_pseudo_within_insn): Adjust lra_substitute_pseudo
        callers.
        * lra-constraints.c (inherit_reload_reg, split_reg): Likewise.

        * gcc.dg/pr83723.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr83723.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c
    trunk/gcc/lra-int.h
    trunk/gcc/lra.c
    trunk/gcc/testsuite/ChangeLog

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