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 various small fixes


Various small things I noticed while working on the lambda overhaul:

We try to avoid mentioning the lambda conversion static thunk in
diagnostics, but it was showing up in constexpr messages.

If the lambda itself is erroneous, don't try to build a closure object.

We can't defer instantiation of a function with undeduced auto type.

tsubst_decl should set the DECL_CONTEXT on function parameters immediately.

Don't build a non-type parameter with erroneous type.

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

Attachment: various.diff
Description: Text document


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