diff options
author | mm <mm@FreeBSD.org> | 2011-07-30 17:27:29 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2011-07-30 17:27:29 +0000 |
commit | 586f2662eb4f8fd000f1ce4541e3f0d89a88e019 (patch) | |
tree | bf690f79fc5deea4afeb339bba897ccaf4fef1a3 /contrib/gcc/cp/ChangeLog | |
parent | 645f499b5d3641bac9a4abe3b0e295baac6d3de6 (diff) | |
download | FreeBSD-src-586f2662eb4f8fd000f1ce4541e3f0d89a88e019.zip FreeBSD-src-586f2662eb4f8fd000f1ce4541e3f0d89a88e019.tar.gz |
Fix invalid assertion of C++ external static data member declarations
as anonymous namespaces are local to the current translation.
GCC PR: c++/33094
Reviewed by: uqs
Approved by: re (kib)
Obtained from: gcc (branches/redhat/gcc-4_1-branch, rev. 129554, GPLv2)
MFC after: 1 week
Diffstat (limited to 'contrib/gcc/cp/ChangeLog')
-rw-r--r-- | contrib/gcc/cp/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/gcc/cp/ChangeLog b/contrib/gcc/cp/ChangeLog index 3987547..7cd1fb4 100644 --- a/contrib/gcc/cp/ChangeLog +++ b/contrib/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2007-09-29 Jason Merrill <jason@redhat.com>
+
+ PR c++/33094
+ * decl.c (make_rtl_for_nonlocal_decl): It's ok for a member
+ constant to not have DECL_EXTERNAL if it's file-local.
+
2007-08-24 Jakub Jelinek <jakub@redhat.com> PR c++/31941 |