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
This commit is contained in:
parent
b58564754b
commit
8a827ab215
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-01-22 Jason Merrill <jason@redhat.com>
|
||||
|
||||
* c-semantics.c (genrtl_compound_stmt): Only check nesting
|
||||
consistency if this COMPOUND_STMT is scoped.
|
||||
|
||||
2002-01-22 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* predict.c: Fix formatting.
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue