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 58481


Hi,

this bug looks superficially similar to the already fixed c++/50089: an ICE on valid in build_base_path for a qualified-id call in a lambda, which can be worked around by qualifying with this->. It seems to me that in this case too a fix may boil down to simply using current_nonlambda_class_type () instead of current_class_type: here too its return value ends up as the third argument of adjust_result_of_qualified_name_lookup.

Tested x86_64-linux.

Thanks,
Paolo.

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

Attachment: CL_58481
Description: Text document

Attachment: patch_58481
Description: Text document


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