aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r--gcc/cp/error.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index 1fc4047..b9bc9b2 100644
--- a/gcc/cp/error.c
+++ b/gcc/cp/error.c
@@ -1982,6 +1982,14 @@ dump_expr (tree t, int flags)
print_right_paren (scratch_buffer);
break;
+ case REALPART_EXPR:
+ case IMAGPART_EXPR:
+ print_identifier (scratch_buffer,
+ operator_name_info[TREE_CODE (t)].name);
+ output_add_space (scratch_buffer);
+ dump_expr (TREE_OPERAND (t, 0), flags);
+ break;
+
case DEFAULT_ARG:
print_identifier (scratch_buffer, "<unparsed>");
break;