diff options
Diffstat (limited to 'gcc-4.9/gcc/cp/error.c')
-rw-r--r-- | gcc-4.9/gcc/cp/error.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc-4.9/gcc/cp/error.c b/gcc-4.9/gcc/cp/error.c index 454feb519..699d5458a 100644 --- a/gcc-4.9/gcc/cp/error.c +++ b/gcc-4.9/gcc/cp/error.c @@ -1145,7 +1145,12 @@ dump_decl (cxx_pretty_printer *pp, tree t, int flags) case FUNCTION_DECL: if (! DECL_LANG_SPECIFIC (t)) - pp_string (pp, M_("<built-in>")); + { + if (DECL_ABSTRACT_ORIGIN (t)) + dump_decl (pp, DECL_ABSTRACT_ORIGIN (t), flags); + else + pp_string (pp, M_("<built-in>")); + } else if (DECL_GLOBAL_CTOR_P (t) || DECL_GLOBAL_DTOR_P (t)) dump_global_iord (pp, t); else |