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 for c++/69223 (ICE with deduced return type)


Here when we deduced the return type for a lambda to an uninstantiated
class template specialization, we built the new RESULT_DECL, and
called layout_decl, before we called complete_type_or_else, so the
RESULT_DECL wasn't properly laid out.

Tested x86_64-pc-linux-gnu, applying to trunk, 6, 5.

Attachment: 69223.diff
Description: Text document


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