[Bug middle-end/77377] [7 Regression] c-c++-common/pr59037.c ICEs with -fpic -msse on i686

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 1 11:43:00 GMT 2016


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep  1 11:42:22 2016
New Revision: 239929

URL: https://gcc.gnu.org/viewcvs?rev=239929&root=gcc&view=rev
Log:
        Backported from mainline
        2016-08-30  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/77377
        * simplify-rtx.c (avoid_constant_pool_reference): For out of bounds
        constant pool reference return x instead of c.

        * gcc.target/i386/pr77377.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr77377.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/simplify-rtx.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list