diff options
author | Jason Merrill <jason@redhat.com> | 2002-01-22 11:05:50 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2002-01-22 11:05:50 -0500 |
commit | 8a827ab215ae56bffe371504040242c4ccb431aa (patch) | |
tree | 3ceef8f64aea9018834921fbee81b129d34e66aa /gcc/c-semantics.c | |
parent | b58564754b8f157067e661a00c83c8fd9c75dc54 (diff) | |
download | gcc-8a827ab215ae56bffe371504040242c4ccb431aa.zip gcc-8a827ab215ae56bffe371504040242c4ccb431aa.tar.gz gcc-8a827ab215ae56bffe371504040242c4ccb431aa.tar.bz2 |
c-semantics.c (genrtl_compound_stmt): Only check nesting consistency if this COMPOUND_STMT is scoped.
* c-semantics.c (genrtl_compound_stmt): Only check nesting consistency if
this COMPOUND_STMT is scoped.
From-SVN: r49077
Diffstat (limited to 'gcc/c-semantics.c')
-rw-r--r-- | gcc/c-semantics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index 682943f..eb5af2a 100644 --- a/gcc/c-semantics.c +++ b/gcc/c-semantics.c @@ -700,7 +700,7 @@ genrtl_compound_stmt (t) #ifdef ENABLE_CHECKING /* Make sure that we've pushed and popped the same number of levels. */ - if (n != current_nesting_level ()) + if (!COMPOUND_STMT_NO_SCOPE (t) && n != current_nesting_level ()) abort (); #endif } |