OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR c++/14085
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
error.c
diff --git
a/gcc/cp/error.c
b/gcc/cp/error.c
index
ece2635
..
a276f7b
100644
(file)
--- a/
gcc/cp/error.c
+++ b/
gcc/cp/error.c
@@
-940,6
+940,13
@@
dump_decl (tree t, int flags)
dump_expr (t, flags);
break;
+ case TEMPLATE_TYPE_PARM:
+ if (flags & TFF_DECL_SPECIFIERS)
+ pp_cxx_declaration (cxx_pp, t);
+ else
+ pp_type_id (cxx_pp, t);
+ break;
+
default:
pp_unsupported_tree (cxx_pp, t);
/* Fall through to error. */