diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-07 04:34:43 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-07 04:34:43 +0000 |
commit | b34f7e66cb96f137d5283d6285ffa1d333756e52 (patch) | |
tree | 3301952703831d6af8b321a802640f7212d328df /libgomp/splay-tree.h | |
parent | b15717524a33180c09ee223a06402c92d436df77 (diff) | |
download | gcc-b34f7e66cb96f137d5283d6285ffa1d333756e52.tar.gz |
PR c++/68597, fix auto9.C and auto-neg1.C with -std=c++1z.
* decl.c (check_tag_decl): Use ds_type_spec in auto diagnostic.
* typeck.c (check_return_expr): Check for inconsistent deduction.
* parser.c (class type_id_in_expr_sentinel): New.
(cp_parser_primary_expression) [RID_VA_ARG]: Use it.
(cp_parser_new_expression): Use it.
(cp_parser_trait_expr): Use it.
(cp_parser_type_id_1): Complain about auto if in_type_id_in_expr_p.
(cp_parser_default_type_template_argument): Check for auto.
(cp_parser_type_id_list): Likewise.
(cp_parser_simple_type_specifier): Allow auto parms if flag_concepts.
* pt.c (do_auto_deduction): Handle erroneous type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231349 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/splay-tree.h')
0 files changed, 0 insertions, 0 deletions