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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 21:46:16 2016
New Revision: 238135

URL: https://gcc.gnu.org/viewcvs?rev=238135&root=gcc&view=rev
Log:
        Backported from mainline
        2016-02-16  Jakub Jelinek  <ja...@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-4_9-branch/gcc/testsuite/gcc.dg/pr69802.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/tree-ssa-reassoc.c

Reply via email to