Hi! On Mon, May 09, 2022 at 06:19:45PM +0800, Jiufu Guo wrote: > There is a rare corner case: where vector is followed only by one > valid identifer and the ";" which is near the end of the file. > > Like the case in PR101168: > using vdbl = __vector double; > #define BREAK 1 > > For this case, "vector double" is followed by CPP_SEMICOLON and then > EOF. There is no more tokens need to check for this case.
One tiny comment/hint: > --- /dev/null > +++ b/gcc/testsuite/g++.target/powerpc/pr101168.C > @@ -0,0 +1,6 @@ > +/* { dg-do compile } */ This is the default, you can leave it out if you want. Okay for trunk with or without it. Thanks! Segher