[Bug c/126684] <source>:13:1: internal compiler error: in vec_safe_grow_cleared, at vec.h:773 since 13.1

"rguenth at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126684

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-08-06
             Blocks|                            |101057
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  The error recovery path

421       /* Perform IL validation and if any error is found abort compilation
422          of this function by zapping its body.  */
423       if ((cfun->curr_properties & PROP_cfg)
424           && verify_gimple_in_cfg (cfun, false, false))
425         init_empty_tree_cfg ();

doesn't work when a CFG is already present.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101057
[Bug 101057] [meta-bug] [gimplefe] GIMPLE frontend issues
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.