Commit 1c09c5e5 by Gabriel Dos Reis Committed by Gabriel Dos Reis

re PR c++/14369 (errenous reject of well-formed code)

        PR c++/14369
        * error.c (dump_expr): Handle THROW_EXPR.

From-SVN: r78723
parent ab73670a
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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment