[Bug c/108423] [12/13 Regression] ICE in make_ssa_name_fn with VLA types in arguments and inlining

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 17 07:06:29 GMT 2023


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |c
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Priority|P3                          |P2
   Last reconfirmed|                            |2023-01-17

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
#3  0x0000000001697500 in remap_ssa_name (name=<ssa_name 0x7ffff6271e10 1>, 
    id=0x7fffffffd910) at /home/rguenther/src/trunk/gcc/tree-inline.cc:237
237           new_tree = make_ssa_name (remap_type (TREE_TYPE (name), id));
(gdb) p debug_tree (name)
 <ssa_name 0x7ffff6271e10 type <error_mark 0x7ffff6266d80>
    nothrow
    def_stmt 
    version:1 in-free-list>
$1 = void

so another case with a missing/misplaced DECL_EXPR for the VLA size.


More information about the Gcc-bugs mailing list