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 tree-optimization/69802] [4.9/5 Regression] gcc ICE at -O1 and above on valid code on x86_64-linux-gnu with âseg faultâ


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar 30 12:30:40 2016
New Revision: 234550

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

        PR tree-optimization/69802
        * tree-ssa-reassoc.c (update_range_test): If op is
        SSA_NAME_IS_DEFAULT_DEF, give up unless tem is a positive
        op == 1 test of precision 1 integral op, otherwise handle
        that case as op itself.  Fix up formatting.
        (optimize_range_tests_to_bit_test, optimize_range_tests): Fix
        up formatting.

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

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr69802.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-ssa-reassoc.c

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