r254712 - in /trunk/gcc/cp: ChangeLog call.c cl...
jason@gcc.gnu.org
jason@gcc.gnu.org
Mon Nov 13 22:12:00 GMT 2017
Author: jason
Date: Mon Nov 13 22:12:55 2017
New Revision: 254712
URL: https://gcc.gnu.org/viewcvs?rev=254712&root=gcc&view=rev
Log:
Defer folding of *&.
* typeck.c (cp_build_fold_indirect_ref): New.
(cp_build_indirect_ref_1): Split out from cp_build_indirect_ref.
Add 'fold' parameter.
* cp-tree.h: Declare cp_build_fold_indirect_ref.
* call.c, class.c, cp-ubsan.c, decl.c, except.c, init.c, lambda.c,
parser.c, rtti.c, tree.c, typeck.c, typeck2.c: Use it.
* parser.c (do_range_for_auto_deduction): Use RO_UNARY_STAR.
(cp_convert_range_for): Likewise.
* typeck2.c (build_x_arrow): Use RO_ARROW.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/class.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/cp-ubsan.c
trunk/gcc/cp/decl.c
trunk/gcc/cp/except.c
trunk/gcc/cp/init.c
trunk/gcc/cp/lambda.c
trunk/gcc/cp/parser.c
trunk/gcc/cp/rtti.c
trunk/gcc/cp/tree.c
trunk/gcc/cp/typeck.c
trunk/gcc/cp/typeck2.c
More information about the Gcc-cvs
mailing list