[Bug c++/83556] [7/8 Regression] ICE in gimplify_expr, at gimplify.c:12004
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 2 18:04:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83556
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 2 18:04:19 2018
New Revision: 256086
URL: https://gcc.gnu.org/viewcvs?rev=256086&root=gcc&view=rev
Log:
PR c++/83556
* tree.c (replace_placeholders_r): Pass NULL as last argument to
cp_walk_tree instead of d->pset. If non-TREE_CONSTANT and
non-PLACEHOLDER_EXPR tree has been seen already, set *walk_subtrees
to false and return.
(replace_placeholders): Pass NULL instead of &pset as last argument
to cp_walk_tree.
* g++.dg/cpp0x/pr83556.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr83556.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list