Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2013 14:58:37 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r258652 - head/contrib/gcc/cp
Message-ID:  <201311261458.rAQEwbw0010373@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311261458.rAQEwbw0010373>