summaryrefslogtreecommitdiff
path: root/gcc/cp/dump.c
diff options
context:
space:
mode:
authorbviyer <bviyer@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-17 18:15:02 +0000
committerbviyer <bviyer@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-17 18:15:02 +0000
commit3b91f18d406ab09a2230c424f39da1abe5ed24c7 (patch)
treeae206d3d0e85b4a916a51ca7ceaa16e102a67d7c /gcc/cp/dump.c
parenta6b0743ebd91093edd7523191ae06552f1fdc27a (diff)
parent0354b3627116e996ab12046214d884605caa0256 (diff)
downloadgcc-3b91f18d406ab09a2230c424f39da1abe5ed24c7.tar.gz
Merged with trunk at revision 189580.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@189584 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/dump.c')
-rw-r--r--gcc/cp/dump.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c
index 779ba4a5e1b..4ca549c2791 100644
--- a/gcc/cp/dump.c
+++ b/gcc/cp/dump.c
@@ -202,6 +202,15 @@ dump_op (dump_info_p di, tree t)
}
}
+/* Dump information common to statements from STMT. */
+
+static void
+dump_stmt (dump_info_p di, const_tree t)
+{
+ if (EXPR_HAS_LOCATION (t))
+ dump_int (di, "line", EXPR_LINENO (t));
+}
+
bool
cp_dump_tree (void* dump_info, tree t)
{