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

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. */