Date: Tue, 26 Nov 2013 15:18:41 +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: r258653 - head/contrib/gcc/cp Message-ID: <201311261518.rAQFIfw1017925@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Tue Nov 26 15:18:40 2013 New Revision: 258653 URL: http://svnweb.freebsd.org/changeset/base/258653 Log: Forced commit to note that r258652 is actually: gcc: Move conditions before an assert. It is a bit cleaner to check the conditions before calling the assertion. It also preserves the style from the rest of the code. This is just a cosmetical change to match better what both Apple's gcc42 and Android's gcc-4.2.1 do. Modified: head/contrib/gcc/cp/decl.c Modified: head/contrib/gcc/cp/decl.c ============================================================================== --- head/contrib/gcc/cp/decl.c Tue Nov 26 14:58:37 2013 (r258652) +++ head/contrib/gcc/cp/decl.c Tue Nov 26 15:18:40 2013 (r258653) @@ -4966,7 +4966,7 @@ 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. */ + external; it is only a declaration, and not a definition. */ if (init == NULL_TREE && DECL_INITIAL (decl) == NULL_TREE) gcc_assert (DECL_EXTERNAL (decl)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311261518.rAQFIfw1017925>