[Bug other/122955] [16 Regression] Segmentation fault in lto1 when building GCC with autoprofiledbootstrap

dhruvc at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 2 08:57:01 GMT 2025


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

--- Comment #2 from Dhruv Chawla <dhruvc at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> >or a very large GC that overflows the stack (probably the former)
> 
> Do you have which structure is being used for marking here?

Unfortunately it looks like the stack is getting corrupted:

(gdb) f 318879

#318879 0x00000000014bb0d4 in gt_ggc_mx_toplevel_node (x_p=0xffffb3f31990) at
gtype-desc.cc:1432
1432                gt_ggc_m_13toplevel_node ((*sub).next_sibling_clone);
(gdb) up

Initial frame selected; you cannot go up.


More information about the Gcc-bugs mailing list