This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33462] [4.1/4.2 regression] Broken diagnostic: 'va_arg_expr' not supported by dump_expr
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jan 2008 23:45:14 -0000
- Subject: [Bug c++/33462] [4.1/4.2 regression] Broken diagnostic: 'va_arg_expr' not supported by dump_expr
- References: <bug-33462-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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