aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2013-11-26 15:18:40 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2013-11-26 15:18:40 +0000
commit346d5f0202348273c39c0da618ae4230c82ef198 (patch)
tree76e884df9f43a7fb19be2d0490a14a7ff4395c88 /contrib
parentdb8e31dfdd51336b6d51f2cd07f29eb5ead84eb0 (diff)
downloadsrc-346d5f0202348273c39c0da618ae4230c82ef198.tar.gz
src-346d5f0202348273c39c0da618ae4230c82ef198.zip
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.
Notes
Notes: svn path=/head/; revision=258653
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/cp/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/cp/decl.c b/contrib/gcc/cp/decl.c
index 0bf09d4b8e48..c35f74aa9c91 100644
--- a/contrib/gcc/cp/decl.c
+++ b/contrib/gcc/cp/decl.c
@@ -4966,7 +4966,7 @@ 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. */
+ external; it is only a declaration, and not a definition. */
if (init == NULL_TREE && DECL_INITIAL (decl) == NULL_TREE)
gcc_assert (DECL_EXTERNAL (decl));
}