[Bug lto/94776] lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:153

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 7 07:34:30 GMT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org
            Version|lto                         |9.2.1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I suspect this is another case of running into this assert with not using the
linker plugin.  At least this one is on a still maintained branch and as Sandra
recently noted the code is basically unchanged since a long time.

  /* Be sure that we never try to duplicate partitioned symbol
     or add external symbol.  */
  gcc_assert (c != SYMBOL_EXTERNAL
              && (c == SYMBOL_DUPLICATE || !symbol_partitioned_p (node)));


More information about the Gcc-bugs mailing list