aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authornathan <>2005-10-12 17:07:43 +0000
committernathan <>2005-10-12 17:07:43 +0000
commit34ac77619e0399a6fc4751775919e381fbf5981b (patch)
tree942011e89513616498985f2c0177369f00dd00a6 /gcc/cp/ChangeLog
parentd82d6ae01dcca19d5fbb3e57f1802f76314ee81e (diff)
cp:
PR c++/23797 * parser.c (cp_parser_functional_cast): Cope when TYPE is not a TYPE_DECL. Use dependent_type_p to check type. * pt.c (uses_template_parms_p): Use dependent_type_p for a TYPE_DECL. (type_dependent_expression_p): Assert we've not been given a TYPE_DECL. testsuite: PR c++/23797 * g++.dg/other/typename8.C: New.
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index a94a3fb674b..d6dad42f712 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,13 @@
2005-10-12 Nathan Sidwell <nathan@codesourcery.com>
+ PR c++/23797
+ * parser.c (cp_parser_functional_cast): Cope when TYPE is not a
+ TYPE_DECL. Use dependent_type_p to check type.
+ * pt.c (uses_template_parms_p): Use dependent_type_p for a
+ TYPE_DECL.
+ (type_dependent_expression_p): Assert we've not been given a
+ TYPE_DECL.
+
PR c++/21117
* decl.c (check_function_type): Correctly overwrite incomplete
return type with void type.