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]

Re: [C++ Patch] PR 71169 ("[7/8 Regression] ICE on invalid C++ code in pop_nested_class"), PR 71832 and more (Take 2)


Hi,

On 09/03/2018 16:17, Jason Merrill wrote:
You should be able to say

   if (any_erroneous_template_args (type))
Indeed, that's what I tried to express earlier today, after a cappuccino ;)
and I don't think you need the goto; the normal logic should handle
the truncated vecs fine.
It should, otherwise something needs fixing anyway. And since by that time we are in error recovery it doesn't make any sense to micro-optimize anything. Thus, I'm re-testing (previous iteration was Ok) with the below. Ok if it passes?

Thanks,
Paolo.

///////////////////

Attachment: patch_71169_71832_3
Description: Text document


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