On Thu, Jul 2, 2020 at 9:08 PM Eric Botcazou <botca...@adacore.com> wrote: > > > So this variant combined with the rest of the patch is OK then. > > Thanks. It occurred to me that using string_constant might be slightly better > (iti is already used by gimple_fold_builtin_memchr in the same file).
OK. Thanks, Richard. > > * gimple-fold.c (gimple_fold_builtin_memory_op): Fold calls that were > initially created for the assignment of a variable-sized destination > and whose source is now a string constant. > > -- > Eric Botcazou