[Bug ipa/92981] ICE in get_partitioning_class, at symtab.c:1966

xerofoify at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Apr 4 06:02:55 GMT 2020


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

Nicholas Krause <xerofoify at gmail dot com> changed:

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

--- Comment #2 from Nicholas Krause <xerofoify at gmail dot com> ---
After looking through this with a debugger this seems odd to me:
if (alias && definition && !ultimate_alias_target ()->definition)

I'm not sure but after looking through it this seems to assume definition and
alias would be pointing  be true which does not seem to be the case with this
code and thus asserts here:
gcc_checking_assert (vnode->definition);

Seems this commit id,d3f2e41ea introduced it. Jan Hubicka are we certain
that definition and alias must both be true here as that does not appear 
to be the case for returning SYMBOL_EXTERNAL?


More information about the Gcc-bugs mailing list