Hi,
On 25/04/19 23:14, Jason Merrill wrote:
On Tue, Apr 23, 2019 at 11:26 AM Paolo Carlini <paolo.carl...@oracle.com> wrote:
I tried a few different things to avoid this simple error-recovery
regression but, all in all, I think it makes sense to simply bail out
early from grokdeclarator upon the first error. Tested x86_64-linux.
"type = error_mark_node" doesn't work?
Yes, it passes testing and appears to work fine: in practice for the new
testcase grokdeclarator doesn't issue any further diagnostic and returns
error_mark_node a few lines below, around line # 11256. Shall we apply
this version to gcc-9-branch too?
Thanks! Paolo.