re PR c++/8799 (ICE: Error reporting routines re-entered.)

PR C++/8799
        * error.c (dump_expr): Don't ever try to dump a non-existent
        expression.

From-SVN: r59814
This commit is contained in:
Gabriel Dos Reis 2002-12-04 11:32:14 +00:00 committed by Gabriel Dos Reis
parent 33602aec45
commit 8c048a52a4
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2002-12-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
PR C++/8799
* error.c (dump_expr): Don't ever try to dump a non-existent
expression.
2002-12-03 Jason Merrill <jason@redhat.com>
* call.c (build_user_type_conversion_1): Don't set ICS_BAD_FLAG on

View File

@ -1424,6 +1424,9 @@ dump_expr (t, flags)
tree t;
int flags;
{
if (t == 0)
return;
switch (TREE_CODE (t))
{
case VAR_DECL: