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/70460] [4.9/5/6 Regression] Miscompilation of glibc on i686-linux starting with r234101


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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Mar 31 13:21:43 2016
New Revision: 234618

URL: https://gcc.gnu.org/viewcvs?rev=234618&root=gcc&view=rev
Log:
        PR rtl-optimization/70460
        * ira.c (indirect_jump_optimize): Don't substitute LABEL_REF
        with operand from REG_LABEL_OPERAND, instead substitute
        SET_SRC or REG_EQUAL note content if it is a LABEL_REF.
        Don't do anything for REG_NON_LOCAL_GOTO jumps.

        * gcc.c-torture/execute/pr70460.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr70460.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/ira.c
    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]