r242766 - in /trunk/gcc: cp/ChangeLog cp/cp-gim...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Nov 23 15:54:00 GMT 2016
Author: jakub
Date: Wed Nov 23 15:54:39 2016
New Revision: 242766
URL: https://gcc.gnu.org/viewcvs?rev=242766&root=gcc&view=rev
Log:
PR c++/77739
* cp-gimplify.c (cp_gimplify_tree) <case VEC_INIT_EXPR>: Pass
false as handle_invisiref_parm_p to cp_genericize_tree.
(struct cp_genericize_data): Add handle_invisiref_parm_p field.
(cp_genericize_r): Don't wrap is_invisiref_parm into references
if !wtd->handle_invisiref_parm_p.
(cp_genericize_tree): Add handle_invisiref_parm_p argument,
set wtd.handle_invisiref_parm_p to it.
(cp_genericize): Pass true as handle_invisiref_parm_p to
cp_genericize_tree. Formatting fix.
* g++.dg/cpp1y/pr77739.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/pr77739.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list