diff options
author | Cesar Philippidis <cesar@codesourcery.com> | 2015-11-09 21:23:04 -0800 |
---|---|---|
committer | Cesar Philippidis <cesar@gcc.gnu.org> | 2015-11-09 21:23:04 -0800 |
commit | 03310c37cc1c1de0ee78a1518bd564b366a3328f (patch) | |
tree | 0e436cca19dc5803f14d090dab354db4e74c4915 /gcc/tree-vect-data-refs.c | |
parent | 685c8340ff7b5cfef7bf41c3b5e0d79ad7f7a37b (diff) | |
download | gcc-03310c37cc1c1de0ee78a1518bd564b366a3328f.zip gcc-03310c37cc1c1de0ee78a1518bd564b366a3328f.tar.gz gcc-03310c37cc1c1de0ee78a1518bd564b366a3328f.tar.bz2 |
parser.c (cp_finalize_oacc_routine): New boolean first argument.
gcc/cp/
* parser.c (cp_finalize_oacc_routine): New boolean first argument.
(cp_ensure_no_oacc_routine): Update call to cp_finalize_oacc_routine.
(cp_parser_simple_declaration): Maintain a boolean first to keep track
of each new declarator. Propagate it to cp_parser_init_declarator.
(cp_parser_init_declarator): New boolean first argument. Propagate it
to cp_parser_save_member_function_body and cp_finalize_oacc_routine.
(cp_parser_member_declaration): Likewise.
(cp_parser_single_declaration): Update call to
cp_parser_init_declarator.
(cp_parser_save_member_function_body): New boolean first_decl argument.
Propagate it to cp_finalize_oacc_routine.
(cp_parser_finish_oacc_routine): New boolean first argument. Use it to
determine if multiple declarators follow a routine construct.
(cp_parser_oacc_routine): Update call to cp_parser_finish_oacc_routine.
gcc/testsuite/
* c-c++-common/goacc/routine-5.c: Enable c++ tests.
From-SVN: r230082
Diffstat (limited to 'gcc/tree-vect-data-refs.c')
0 files changed, 0 insertions, 0 deletions