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] |
The code that avoids all implicit capture in template contexts got confused by fold_non_dependent_expr, which temporarily clears processing_template_decl. Fixed by using uses_template_parms instead, which does not depend on the current value of processing_template_decl. Tested x86_64-pc-linux-gnu, applying to trunk.
Attachment:
82069.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |