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++/80856, ICE with local extern


My patch for 10200 caused finish_id_expression for Wrap to return the
actual overload set rather than the plain identifier, and we stored
that set in the template CALL_EXPR, but then at instantiation time we
failed to go through and replace it with the instantiated overload
set.  This patch avoids this problem by reverting to the identifier
when we build the CALL_EXPR.

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

Attachment: 80856.diff
Description: Text document


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