From f6a898ba9e5640269015a0f035adfdc10d18bd40 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Wed, 22 Dec 1999 08:52:49 +0000 Subject: [PATCH] * error.c (dump_decl): Support named return values. From-SVN: r31067 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/error.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9fa42692d0d..25c9105284c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1999-12-22 Alexandre Oliva + + * error.c (dump_decl): Support named return values. + 1999-12-20 Mark Mitchell * cp-tree.h (CLASSTYPE_VFIELD_PARENT): Update comments. diff --git a/gcc/cp/error.c b/gcc/cp/error.c index e7633f5c58d..46ac51b349c 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -892,6 +892,11 @@ dump_decl (t, flags) dump_simple_decl (t, TREE_TYPE (t), flags); break; + case RESULT_DECL: + OB_PUTS ("{return} "); + dump_simple_decl (t, TREE_TYPE (t), flags); + break; + case NAMESPACE_DECL: dump_scope (CP_DECL_CONTEXT (t), flags); if (DECL_NAME (t) == anonymous_namespace_name)