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++/82664, infinite recursion with ref-to-fn non-type parameter


The use_partial_inst_tmpl code in lookup_template_class didn't work as
intended because when converting the ref-to-fn parameter to the same
type we wrapped it in a couple of extra NOP_EXPR.

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

Attachment: 82664.diff
Description: Text document


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