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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can't reproduce this with #c2.  Though, calling fold_for_warn inside of
templates looks wrong, that is generally very unsafe.

The calls to fold_for_warn have been introduced in the PR43486 changes.

Or perhaps warn_for_memset just shouldn't be called if either of arg0 and arg2
is type_dependent_expression_p?

Reply via email to