This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[C++ Patch] PR 58843


Hi,

in this ICE on invalid regression the problem happens toward the end of lookup_destructor when adjust_result_of_qualified_name_lookup (and possibly the callar itself) tries to set BASELINK_QUALIFIED_P of an error_mark_node. As explained in check_dtor_name too, error_mark_node means we already complained about this destructor, thus seems safe to early return it back. Tested x86_64-linux.

Thanks,
Paolo.

/////////////////////

Attachment: CL_58843
Description: Text document

Attachment: patch_58843
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]