From 4757fa7f0ba01e207b313c2931312555d5ec98bf Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 12 Aug 2015 13:33:39 -0400 Subject: [PATCH] re PR c++/67161 (ICE with a static_assert using our internal __not/__or/__and traits) PR c++/67161 * error.c (dump_decl) [TEMPLATE_ID_EXPR]: Pass TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS. From-SVN: r226827 --- gcc/cp/ChangeLog | 6 +++++ gcc/cp/error.c | 3 ++- gcc/testsuite/g++.dg/cpp1y/var-templ44.C | 29 ++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 gcc/testsuite/g++.dg/cpp1y/var-templ44.C diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index cdbe71913e1..bed0a5eb023 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2015-08-12 Jason Merrill + + PR c++/67161 + * error.c (dump_decl) [TEMPLATE_ID_EXPR]: Pass + TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS. + 2015-08-08 Jason Merrill PR c++/67152 diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 4f85751711a..ae3e0921c5c 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -1212,7 +1212,8 @@ dump_decl (cxx_pretty_printer *pp, tree t, int flags) if (args == error_mark_node) pp_string (pp, M_("