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)); } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"