[1/2] OpenACC routine support

Jakub Jelinek jakub@redhat.com
Tue Nov 3 15:35:00 GMT 2015


On Mon, Nov 02, 2015 at 02:21:43PM -0500, Nathan Sidwell wrote:
> --- gcc/c/c-parser.c	(revision 229667)
> +++ gcc/c/c-parser.c	(working copy)
> @@ -1160,7 +1160,8 @@ enum c_parser_prec {
>  static void c_parser_external_declaration (c_parser *);
>  static void c_parser_asm_definition (c_parser *);
>  static void c_parser_declaration_or_fndef (c_parser *, bool, bool, bool,
> -					   bool, bool, tree *, vec<c_token>);
> +					   bool, bool, tree *, vec<c_token>,
> +					   tree);

Wonder if this shouldn't be tree = NULL_TREE, then you'd avoid most of the
c_parser_declaration_or_fndef caller changes.

Otherwise, LGTM.

	Jakub



More information about the Gcc-patches mailing list