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

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

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I wonder if we just shouldn't move this warning to GCC and in glibc remove it
if sufficiently new GCC version is used.
GCC could then warn about this in the FEs, only in the cases where user likely
made a mistake (i.e. when third argument is literal 0 (rather than e.g. an
expression folded to 0) and second argument is not literal 0.

Reply via email to