diff options
author | Paolo Carlini <pcarlini@suse.de> | 2007-09-18 18:05:40 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2007-09-18 18:05:40 +0000 |
commit | fdb8f4189ccfe9ef56ffb438ee8d4e98902bbfdc (patch) | |
tree | 429400c1361e2c95bd0f6bf59f5584a1f07a9599 /gcc/cp/cxx-pretty-print.h | |
parent | 6b9de967764c7d77ee1572a578f292d6afe40280 (diff) | |
download | gcc-fdb8f4189ccfe9ef56ffb438ee8d4e98902bbfdc.tar.gz |
re PR c++/33462 (Broken diagnostic: 'va_arg_expr' not supported by dump_expr)
/cp
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.
/testsuite
2007-09-18 Paolo Carlini <pcarlini@suse.de>
PR c++/33462
* g++.dg/ext/va-arg1.C: New.
From-SVN: r128584
Diffstat (limited to 'gcc/cp/cxx-pretty-print.h')
-rw-r--r-- | gcc/cp/cxx-pretty-print.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/cxx-pretty-print.h b/gcc/cp/cxx-pretty-print.h index f399feafaa4..b6533764478 100644 --- a/gcc/cp/cxx-pretty-print.h +++ b/gcc/cp/cxx-pretty-print.h @@ -71,5 +71,6 @@ void pp_cxx_declaration (cxx_pretty_printer *, tree); void pp_cxx_canonical_template_parameter (cxx_pretty_printer *, tree); void pp_cxx_trait_expression (cxx_pretty_printer *, tree); void pp_cxx_typeid_expression (cxx_pretty_printer *, tree); +void pp_cxx_va_arg_expression (cxx_pretty_printer *, tree); #endif /* GCC_CXX_PRETTY_PRINT_H */ |