[Bug middle-end/92153] [10 Regression] ICE / segmentation fault, use-after-free at gcc/ggc-page.c:1159

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 18 17:18:00 GMT 2019


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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 18 17:18:21 2019
New Revision: 277157

URL: https://gcc.gnu.org/viewcvs?rev=277157&root=gcc&view=rev
Log:
        PR middle-end/92153
        * ggc-page.c (release_pages): Read g->alloc_size before free rather
        than after it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ggc-page.c


More information about the Gcc-bugs mailing list