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] | |
On 08/02/2012 12:21 PM, Paolo Carlini wrote:I see. Then, I restarted testing with this variant.+ if (complain & tf_error) + recheck_decl_substitution (spec, gen_tmpl, targ_ptr); + else + return error_mark_node;
I think we want to be consistent with the end of the function about whether we return error_mark_node or the decl after giving access errors in non-SFINAE context; I don't have a strong opinion either way, but this returns the decl, and the end of the function returns error_mark_node.
Attachment:
patch_51213_again_2
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |