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

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

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That is because the latter is folded into strcpy early by
gimple_fold_builtin_sprintf (already during the gimplification).
I'm certainly surprised we do it even at -O0, IMHO we shouldn't.  But whether
for -O and above we want to defer until after the lowering passes are done so
that your pass can do something about that is another thing.

Reply via email to