Re: [C++ Patch] PR 57981

2013-07-25 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 57981

2013-07-25 Thread Paolo Carlini
... sorry, attached the wrong ChangeLog entry. Fixed below. Paolo. // /cp 2013-07-25 Paolo Carlini PR c++/57981 * decl.c (check_default_argument): Take a tsubst_flags_t parameter. (grokparms): Adjust. * parser.c (cp_parser_late_parse_one_defaul

[C++ Patch] PR 57981

2013-07-25 Thread Paolo Carlini
Hi, this is in fact a Regression in the 4_8-branch too. For the testcase, when we try to produce at instantiation time the warning about the unused parameter we re-enter the diagnostic routines because cp_convert_to_pointer doesn't get, as it should, a tf_none - the propagation breaks between