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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:1ba9acb11e3589b96ed945ed2a3af6acd6377018

commit r10-7242-g1ba9acb11e3589b96ed945ed2a3af6acd6377018
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Mar 18 13:11:30 2020 +0100

    middle-end/94206 fix memset folding to avoid types with padding

    This makes sure that the store a memset is folded to uses a type
    covering all bits.

    2020-03-18   Richard Biener  <rguent...@suse.de>

            PR middle-end/94206
            * gimple-fold.c (gimple_fold_builtin_memset): Avoid using
            partial int modes or not mode-precision integer types for
            the store.

            * gcc.dg/torture/pr94206.c: New testcase.

Reply via email to