svn commit: r258652 - head/contrib/gcc/cp
Pedro F. Giffuni
pfg at FreeBSD.org
Tue Nov 26 14:58:38 UTC 2013
Author: pfg
Date: Tue Nov 26 14:58:37 2013
New Revision: 258652
URL: http://svnweb.freebsd.org/changeset/base/258652
Log:
gcc: Altivec register adjustments from Apple.
Obtained from: gcc pre-4.3 (rev. 124763; GPLv2)
MFC after: 3 weeks
Modified:
head/contrib/gcc/cp/decl.c
Modified: head/contrib/gcc/cp/decl.c
==============================================================================
--- head/contrib/gcc/cp/decl.c Tue Nov 26 14:52:29 2013 (r258651)
+++ head/contrib/gcc/cp/decl.c Tue Nov 26 14:58:37 2013 (r258652)
@@ -4967,8 +4967,8 @@ make_rtl_for_nonlocal_decl (tree decl, t
gcc_assert (TREE_STATIC (decl));
/* An in-class declaration of a static data member should be
external; it is only a declaration, and not a definition. */
- if (init == NULL_TREE)
- gcc_assert (DECL_EXTERNAL (decl) || !TREE_PUBLIC (decl));
+ if (init == NULL_TREE && DECL_INITIAL (decl) == NULL_TREE)
+ gcc_assert (DECL_EXTERNAL (decl));
}
/* We don't create any RTL for local variables. */
More information about the svn-src-head
mailing list