[Bug other/32771] Fixincludes should fix realloc in <stdlib.h> in glibc

fw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jun 28 13:20:18 GMT 2020


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

Florian Weimer <fw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
                 CC|                            |fw at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=4792

--- Comment #4 from Florian Weimer <fw at gcc dot gnu.org> ---
This was changed in glibc via:

commit 1c3e748ef3e76af3f8c12ac614e1bfac0ae46ea8
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Thu Jul 19 17:05:14 2007 +0000

    [BZ #4792]

            * stdlib/stdlib.h (realloc): Remove __attribute_malloc__.
            * malloc/malloc.h (realloc): Likewise.

    2007-07-16  Jakub Jelinek  <jakub@redhat.com>

That commit went into glibc 2.7, as far as I can tell.


More information about the Gcc-bugs mailing list