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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Jan  1 00:20:39 2020
New Revision: 279809

URL: https://gcc.gnu.org/viewcvs?rev=279809&root=gcc&view=rev
Log:
        PR tree-optimization/93098
        * match.pd (popcount): For shift amounts, use integer_onep
        or wi::to_widest () == cst instead of tree_to_uhwi () == cst
        tests.  Make sure that precision is power of two larger than or equal
        to 16.  Ensure shift is never negative.  Use HOST_WIDE_INT_UC macro
        instead of ULL suffixed constants.  Formatting fixes.

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

Added:
    trunk/gcc/ChangeLog-2019
      - copied unchanged from r279808, trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog-2019
      - copied unchanged from r279808, trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.c-torture/compile/pr93098.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/match.pd
    trunk/gcc/testsuite/ChangeLog

Reply via email to