[Bug c/105977] [12/13 Regression] ICE in gimple_call_static_chain_flags, at gimple.cc:1636

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 15 09:12:17 GMT 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.2
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
                 CC|                            |hubicka at gcc dot gnu.org
   Last reconfirmed|                            |2022-06-15

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
-fdisable-ipa-inline might confuse us enough here, we run into

1634          /* Nested functions should always bind to current def since
1635             there is no public ABI for them.  */
1636          gcc_checking_assert (node->binds_to_current_def_p ());
(gdb) p node->debug()
a.0/0 (a) @0x7ffff6a26000
  Type: function
  Body removed by symtab_remove_unreachable_nodes
  Visibility: semantic_interposition prevailing_def_ironly
  References: 
  Referring: 
  Availability: not_available
  Function flags: count:118111600 (estimated locally) optimize_size
static_chain
  Called by: 
  Calls: 
$3 = void

might be not a bug, -fdisable-* are only for debugging.


More information about the Gcc-bugs mailing list