diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2003-07-14 16:09:58 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2003-07-14 16:09:58 +0000 |
commit | 98ed39062babbe39fe4845956697c111d0659113 (patch) | |
tree | 72d308ed8bd191efa3265fdc6f7c4024360df179 | |
parent | 1b78cca94b73f9b5343b395b9c96777741e4643a (diff) | |
download | gcc-98ed39062babbe39fe4845956697c111d0659113.zip gcc-98ed39062babbe39fe4845956697c111d0659113.tar.gz gcc-98ed39062babbe39fe4845956697c111d0659113.tar.bz2 |
* error.c (dump_expr): Handle EMPTY_CLASS_EXPR.
From-SVN: r69338
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/error.c | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2627e94..f62013d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * error.c (dump_expr): Handle EMPTY_CLASS_EXPR. + 2003-07-14 Gabriel Dos Reis <gdr@integrable-solutions.net> PR c++/5293 diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 9edf118..1fc4047 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -2032,6 +2032,12 @@ dump_expr (tree t, int flags) dump_expr (get_first_fn (t), flags & ~TFF_EXPR_IN_PARENS); break; + case EMPTY_CLASS_EXPR: + dump_type (TREE_TYPE (t), flags); + print_left_paren (scratch_buffer); + print_right_paren (scratch_buffer); + break; + case NON_DEPENDENT_EXPR: output_add_string (scratch_buffer, "<expression of type "); dump_type (TREE_TYPE (t), flags); |