http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45938

           Summary: tree tag for CLASSTYPE_TEMPLATE_SPECIALIZATION "spec"
                    is confusing.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: jamesmikedup...@googlemail.com


In the file : gcc/cp/dump.c
there is a dump of the CLASSTYPE_TEMPLATE_SPECIALIZATION,

   if (CLASSTYPE_TEMPLATE_SPECIALIZATION(t))
    dump_string(di, "spec");

This is confusing, because spec already has a different meaning, it is used to
denote other values, spec : NAME. 

It would be better to rename this output to dump_string(di, "tmpl_spclz"); for
example so that the tag spec is consistent.

thanks,
mike

Reply via email to