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: PR c++/36475 [gomp] register keyword in openmp handled for-loop fails


Updated & Bootstrapped and regression tested on
x86_64-unknown-linux-gnu with --enable-languages=all,obj-c++
--enable-decimal-float.

OK for trunk?


2008-10-26  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	PR c++/36475
cp/
	* parser.c (cp_parser_type_specifier): If we found something
	that is not allowed at this point, just say so.
testsuite/
	* g++.dg/gomp/pr36475.C: New.


2008/10/26 Manuel López-Ibáñez <lopezibanez@gmail.com>:
> If you can imagine testcases where this approach may produce worse
> results than the current code, please let me know. Notice that the new
> cases should only affect invalid code. For valid code I think the
> results should be the same as jumping directly to default.
>
> Bootstrapped and regression tested on x86_64-unknown-linux-gnu with
> --enable-languages=all,obj-c++ --enable-decimal-float.
>
> OK for trunk?
>
> 2008-10-26 ?Manuel López-Ibáñez ?<manu@gcc.gnu.org>
>
> ? ? ? ?PR c++/pr36475
> cp/
> ? ? ? ?* parser.c (cp_parser_primary_expression): If we found something
> ? ? ? ?that is not allowed at this point, just say so.
> testsuite/
> ? ? ? ?* g++.dg/gomp/pr36475.C: New.
>

Attachment: fix-pr36475.diff
Description: Text document


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