Commit fbfef506 by Jason Merrill Committed by Jason Merrill

* name-lookup.c (print_binding_level): Print this_entity.

From-SVN: r269291
parent 85222504
2019-02-28 Jason Merrill <jason@redhat.com>
* name-lookup.c (print_binding_level): Print this_entity.
2019-02-27 Marek Polacek <polacek@redhat.com> 2019-02-27 Marek Polacek <polacek@redhat.com>
PR c++/88857 - ICE with value-initialization of argument in template. PR c++/88857 - ICE with value-initialization of argument in template.
......
...@@ -3589,6 +3589,8 @@ print_binding_level (cp_binding_level* lvl) ...@@ -3589,6 +3589,8 @@ print_binding_level (cp_binding_level* lvl)
{ {
tree t; tree t;
int i = 0, len; int i = 0, len;
if (lvl->this_entity)
print_node_brief (stderr, "entity=", lvl->this_entity, 1);
fprintf (stderr, " blocks=%p", (void *) lvl->blocks); fprintf (stderr, " blocks=%p", (void *) lvl->blocks);
if (lvl->more_cleanups_ok) if (lvl->more_cleanups_ok)
fprintf (stderr, " more-cleanups-ok"); fprintf (stderr, " more-cleanups-ok");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment