c++: improve tree dump for templated decls
commitf6a05b23cc2e53c38e8321ddb5d2cbe40737e506
authorPatrick Palka <ppalka@redhat.com>
Thu, 23 Sep 2021 13:36:14 +0000 (23 09:36 -0400)
committerPatrick Palka <ppalka@redhat.com>
Thu, 23 Sep 2021 13:36:14 +0000 (23 09:36 -0400)
treef249f64cdb673012bfb8adeba32252b4fa482651
parent96783caedcbde030672350dd3ac2118fe4f8e73f
c++: improve tree dump for templated decls

gcc/cp/ChangeLog:

* ptree.c (cxx_print_decl): Dump the DECL_TEMPLATE_RESULT of
a TEMPLATE_DECL.  Dump the DECL_TEMPLATE_INFO rather than just
printing its pointer value.
gcc/cp/ptree.c