summaryrefslogtreecommitdiffstats
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorfabien <fabien@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-28 19:53:14 +0000
committerfabien <fabien@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-28 19:53:14 +0000
commit9e92dfe55ae0ada40b85090045ee0fe70c6f1d6c (patch)
treea16ce4b7b64413e9f41169e494d59be61c2e57f7 /gcc/cp/ChangeLog
parentd5932b6529f14acb1e1cefd396a00d8f4e753199 (diff)
downloadppe42-gcc-9e92dfe55ae0ada40b85090045ee0fe70c6f1d6c.tar.gz
ppe42-gcc-9e92dfe55ae0ada40b85090045ee0fe70c6f1d6c.zip
gcc/testsuite/ChangeLog
2011-12-28 Fabien Chene <fabien@gcc.gnu.org> PR c++/23211 * g++.dg/template/using18.C: New. * g++.dg/template/using19.C: New. * g++.dg/template/nested3.C: Remove dg-message at instantiation. * g++.dg/template/crash13.C: Likewise. gcc/cp/ChangeLog 2011-12-28 Fabien Chene <fabien@gcc.gnu.org> PR c++/23211 * name-lookup.c (do_class_using_decl): Use dependent_scope_p instead of dependent_type_p, to check that a non-dependent nested-name-specifier of a class-scope using declaration refers to a base, even if the current scope is dependent. * parser.c (cp_parser_using_declaration): Set USING_DECL_TYPENAME_P to 1 if the DECL is not null. Re-indent a 'else' close to the prior modification. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182711 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b025fa7e623..309738cdbba 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,14 @@
+2011-12-27 Fabien ChĂȘne <fabien@gcc.gnu.org>
+
+ PR c++/23211
+ * name-lookup.c (do_class_using_decl): Use dependent_scope_p
+ instead of dependent_type_p, to check that a non-dependent
+ nested-name-specifier of a class-scope using declaration refers to
+ a base, even if the current scope is dependent.
+ * parser.c (cp_parser_using_declaration): Set
+ USING_DECL_TYPENAME_P to 1 if the DECL is not null. Re-indent a
+ 'else' close to the prior modification.
+
2011-12-23 Jason Merrill <jason@redhat.com>
PR c++/51507
OpenPOWER on IntegriCloud