gcc: Altivec register adjustments from Apple.

Obtained from:	gcc pre-4.3 (rev. 124763; GPLv2)
MFC after:	3 weeks
This commit is contained in:
Pedro F. Giffuni 2013-11-26 14:58:37 +00:00
parent 7b0d23ce5a
commit db8e31dfdd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258652

View File

@ -4967,8 +4967,8 @@ make_rtl_for_nonlocal_decl (tree decl, tree init, const char* asmspec)
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. */