[Bug tree-optimization/120425] [13/14/15/16 regression] GCC-compiled (with -O{1,2,s,3}) program got segfault from GCC 12.1 since r12-476-gd846f225c25c58

mikpelinux at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 12 13:23:23 GMT 2026


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

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #13 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Using the semi reduced test case from #c3, git bisect says this was fixed by
r16-2781-gafafae097232e7:

afafae097232e700bb7a74a453a048b83ebefccd is the first new commit
commit afafae097232e700bb7a74a453a048b83ebefccd
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Aug 5 08:59:18 2025 +0200

    tree-optimization/121370 - avoid UB in building a CHREC


More information about the Gcc-bugs mailing list