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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:5ea39b2412269d208bb6ebd78303815957bd4f70

commit r10-7470-g5ea39b2412269d208bb6ebd78303815957bd4f70
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Tue Mar 31 11:04:32 2020 +0200

    store-merging: Allow enums during bswap recognition [PR94403]

    The following testcase is optimized with char/unsigned char/signed char,
    but not with std::byte.  The following patch fixes that.  Didn't use
    INTEGRAL_TYPE_P because bswapping bools is just too weird.

    2020-03-31  Jakub Jelinek  <ja...@redhat.com>

            PR tree-optimization/94403
            * gimple-ssa-store-merging.c (verify_symbolic_number_p): Allow also
            ENUMERAL_TYPE lhs_type.

            * g++.dg/tree-ssa/pr94403.C: New test.

Reply via email to