aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc-4.7/gcc/cp/mangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.7/gcc/cp/mangle.c b/gcc-4.7/gcc/cp/mangle.c
index 2d1cd9583..9101db2e1 100644
--- a/gcc-4.7/gcc/cp/mangle.c
+++ b/gcc-4.7/gcc/cp/mangle.c
@@ -878,7 +878,7 @@ write_unscoped_name (const tree decl)
/* If not, it should be either in the global namespace, or directly
in a local function scope. */
gcc_assert (context == global_namespace
- || context != NULL
+ || context == NULL
|| TREE_CODE (context) == FUNCTION_DECL);
write_unqualified_name (decl);