https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64641
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Works for me on x86_64-linux. But the assert you hit looks dubious (and unnecessary)... tree get_polymorphic_call_info (tree fndecl, tree ref, tree *otr_type, HOST_WIDE_INT *otr_token, ipa_polymorphic_call_context *context) { ... /* We found base object. In this case the outer_type is known. */ else if (DECL_P (base)) { gcc_assert (!POINTER_TYPE_P (TREE_TYPE (base)));