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++/33462] [4.1/4.2 regression] Broken diagnostic: 'va_arg_expr' not supported by dump_expr



------- Comment #9 from reichelt at gcc dot gnu dot org  2008-01-02 23:45 -------
Subject: Bug 33462

Author: reichelt
Date: Wed Jan  2 23:44:10 2008
New Revision: 131266

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

        PR c++/33462
        * cxx-pretty-print.c (pp_cxx_va_arg_expression): Add.
        (pp_cxx_primary_expression): Use it.
        * cxx-pretty-print.h (pp_cxx_va_arg_expression): Declare.
        * error.c (dump_expr): Use it.

        * g++.dg/ext/va-arg1.C: New.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/ext/va-arg1.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=33462


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