This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/33494] [4.1/4.2 regression] Broken diagnostic: 'modop_expr' not supported by dump_expr



------- Comment #5 from reichelt at gcc dot gnu dot org  2008-01-02 23:53 -------
Subject: Bug 33494

Author: reichelt
Date: Wed Jan  2 23:52:17 2008
New Revision: 131269

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131269
Log:
        Backport:
        2007-10-31  Paolo Carlini  <pcarlini@suse.de>

        PR c++/33494
        * cxx-pretty-print.c (pp_cxx_typeid_expression,
        pp_cxx_delete_expression): Change to static linkage.
        * cxx-pretty-print.h: Adjust declarations.
        * error.c (dump_expr, case SCOPE_REF, TYPEID_EXPR, DELETE_EXPR,
        VEC_DELETE_EXPR, MODOP_EXPR): Forward to pp_expression.

        * cxx-pretty-print.c (pp_cxx_expression, case NON_DEPENDENT_EXPR):
        Fix typo.

        * g++.dg/template/error35.C: New.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/template/error35.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/cxx-pretty-print.c
    branches/gcc-4_2-branch/gcc/cp/cxx-pretty-print.h
    branches/gcc-4_2-branch/gcc/cp/error.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]