[Bug tree-optimization/106458] [12/13 Regression] glibc's malloc/tst-scratch_buffer.c test is miscompiled with gcc-12

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Nov 5 20:54:07 GMT 2022


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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #17 from John David Anglin <danglin at gcc dot gnu.org> ---
glibc issue:

commit 8c77e26ba8b360c851b2b9485bb4431aacc51ad1
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Tue Oct 11 13:23:25 2022 +0100

    Remove unused scratch_buffer_dupfree

    Turns out scratch_buffer_dupfree internal API was unused since

    commit ef0700004bf0dccf493a5e8e21f71d9e7972ea9f
    stdlib: Simplify buffer management in canonicalize

    And the related test in malloc/tst-scratch_buffer had issues
    so it's better to remove it completely.


More information about the Gcc-bugs mailing list