From: Jason Merrill Date: Fri, 1 Mar 2019 00:07:29 +0000 (-0500) Subject: * name-lookup.c (print_binding_level): Print this_entity. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbfef5060f5dd9ae2b23435f60e3101dfe8f7012;p=gcc.git * name-lookup.c (print_binding_level): Print this_entity. From-SVN: r269291 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8ad0f221efc..3124aa9e02f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2019-02-28 Jason Merrill + + * name-lookup.c (print_binding_level): Print this_entity. + 2019-02-27 Marek Polacek PR c++/88857 - ICE with value-initialization of argument in template. diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index 2e1b851341b..1ddcde26ef4 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -3589,6 +3589,8 @@ print_binding_level (cp_binding_level* lvl) { tree t; int i = 0, len; + if (lvl->this_entity) + print_node_brief (stderr, "entity=", lvl->this_entity, 1); fprintf (stderr, " blocks=%p", (void *) lvl->blocks); if (lvl->more_cleanups_ok) fprintf (stderr, " more-cleanups-ok");