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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Oct 17 14:47:15 2017
New Revision: 253816

URL: https://gcc.gnu.org/viewcvs?rev=253816&root=gcc&view=rev
Log:
        PR tree-optimization/82549
        * fold-const.c (optimize_bit_field_compare, fold_truth_andor_1):
        Formatting fixes.  Instead of calling make_bit_field_ref with negative
        bitpos return 0.

        * gcc.c-torture/compile/pr82549.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/compile/pr82549.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/fold-const.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to