The following invalid code snippet triggers a broken diagnostic on mainline:

================================================
template<typename T> void foo(int, T::x);
================================================

bug.cc:1: error: '#'template_type_parm' not supported by dump_expr#<expression
error>::x' is not a type

Before we got the message:

bug.cc:1: error: 'T::x' is not a type


-- 
           Summary: Broken diagnostic: 'template_type_parm' not supported by
                    dump_expr
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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

Reply via email to