From d71365427670a791c5b54bfec6e3d41210844a8a Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Sat, 15 Feb 2020 14:48:08 +0100 Subject: [PATCH] c++: Remove more dead code. gcc/cp/ChangeLog 2020-02-15 Jason Merrill PR c++/92583 * pt.c (any_template_parm_r): Remove CONSTRUCTOR handling. --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/pt.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a3d904e7bbb..ed6b0d0207e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2020-02-15 Jason Merrill + + PR c++/92583 + * pt.c (any_template_parm_r): Remove CONSTRUCTOR handling. + 2020-02-14 Jakub Jelinek PR c++/61414 diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 6e7f4555da8..d19bde7bcbe 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -10448,11 +10448,6 @@ any_template_parm_r (tree t, void *data) WALK_SUBTREE (TREE_OPERAND (t, 1)); break; - case CONSTRUCTOR: - if (TREE_TYPE (t)) - WALK_SUBTREE (TREE_TYPE (t)); - break; - case PARM_DECL: /* A parameter or constraint variable may also depend on a template parameter without explicitly naming it. */ -- 2.30.2