diff options
| -rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/cp/error.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9c7d3d9..02b99e4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2004-03-01 Gabriel Dos Reis <gdr@integrable-solutions.net> + + PR c++/14369 + * error.c (dump_expr): Handle THROW_EXPR. + 2004-03-01 Mark Mitchell <mark@codesourcery.com> PR c++/14324 diff --git a/gcc/cp/error.c b/gcc/cp/error.c index a276f7b..bbd90c9 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -1319,6 +1319,11 @@ dump_expr (tree t, int flags) pp_c_constant (pp_c_base (cxx_pp), t); break; + case THROW_EXPR: + pp_identifier (cxx_pp, "throw"); + dump_expr (TREE_OPERAND (t, 0), flags); + break; + case PTRMEM_CST: pp_ampersand (cxx_pp); dump_type (PTRMEM_CST_CLASS (t), flags); |
