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 85227 ("[7/8/ Regression] ICE with structured binding of a forward declared variable")


Hi,

here, for an incomplete type we ICE pretty soon in find_decomp_class_base. Comparing to other cases too, I convinced myself that trying to complete the type is Ok. Also, it seems that in these functions we want to talk about structured binding and use an appropriate location, thus no complete_type_or_maybe_complain. Tested x86_64-linux.

Thanks, Paolo.

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

Attachment: CL_85227
Description: Text document

Attachment: patch_85227
Description: Text document


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