diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-02-27 02:46:57 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-02-27 02:46:57 +0000 |
commit | 27d26ee7a7e2e3e289bcdfb66e8cb43e2a4cae2f (patch) | |
tree | dd9a6cccef715d349ab52fd4c1b8113bce46cab9 /gcc/cp/dump.c | |
parent | a8f8d1cce570f2ef6efb3163e07b07a7c1d58ae0 (diff) | |
download | gcc-27d26ee7a7e2e3e289bcdfb66e8cb43e2a4cae2f.zip gcc-27d26ee7a7e2e3e289bcdfb66e8cb43e2a4cae2f.tar.gz gcc-27d26ee7a7e2e3e289bcdfb66e8cb43e2a4cae2f.tar.bz2 |
cp-tree.h (DECL_NEEDED_P): Tweak to correct usage before EOF.
* cp-tree.h (DECL_NEEDED_P): Tweak to correct usage before EOF.
(import_export_class): Remove declaration.
* decl2.c (import_export_class): Make it static.
* dump.c (dequeue_and_dump): Handle PREDECREMENT_EXPR,
PREINCREMENT_EXPR, POSTDECREMENT_EXPR, POSTINCREMENT_EXPR,
EXPR_WITH_FILE_LOCATION.
* lex.c (check_newline): Tweak filename/lineno setting.
* semantics.c (begin_while_stmt): Fix typo in comment.
From-SVN: r32208
Diffstat (limited to 'gcc/cp/dump.c')
-rw-r--r-- | gcc/cp/dump.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c index 7d7fed3..dc8f754 100644 --- a/gcc/cp/dump.c +++ b/gcc/cp/dump.c @@ -804,6 +804,10 @@ dequeue_and_dump (di) case COMPONENT_REF: case COMPOUND_EXPR: case ARRAY_REF: + case PREDECREMENT_EXPR: + case PREINCREMENT_EXPR: + case POSTDECREMENT_EXPR: + case POSTINCREMENT_EXPR: /* These nodes are binary, but do not have code class `2'. */ dump_child ("op 0", TREE_OPERAND (t, 0)); dump_child ("op 1", TREE_OPERAND (t, 1)); @@ -858,6 +862,10 @@ dequeue_and_dump (di) dump_child ("args", TREE_OPERAND (t, 1)); dump_child ("decl", TREE_OPERAND (t, 2)); break; + + case EXPR_WITH_FILE_LOCATION: + dump_child ("expr", EXPR_WFL_NODE (t)); + break; default: /* There are no additional fields to print. */ |