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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Sep 12 09:21:03 2018
New Revision: 264231

URL: https://gcc.gnu.org/viewcvs?rev=264231&root=gcc&view=rev
Log:
        PR middle-end/87248
        * fold-const.c (fold_ternary_loc) <case COND_EXPR>: Verify also that
        BIT_AND_EXPR's second operand is a power of two.  Formatting fix.

        * c-c++-common/torture/pr87248.c: New test.

Added:
    branches/gcc-8-branch/gcc/testsuite/c-c++-common/torture/pr87248.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/fold-const.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to