* parse.y (finish_for_loop): Fix if statement.

From-SVN: r53263
This commit is contained in:
Andreas Jaeger 2002-05-07 20:42:50 +02:00
parent bdad4be519
commit 2c7e9098fb
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2002-05-07 Andreas Jaeger <aj@suse.de>
* parse.y (finish_for_loop): Fix if statement.
2002-05-06 Tom Tromey <tromey@redhat.com> 2002-05-06 Tom Tromey <tromey@redhat.com>
Fix for PR java/5941: Fix for PR java/5941:

View File

@ -15003,7 +15003,7 @@ finish_for_loop (location, condition, update, body)
/* Try to detect constraint violations. These would be /* Try to detect constraint violations. These would be
programming errors somewhere. */ programming errors somewhere. */
if (! IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (TREE_CODE (up2))) if (! IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (TREE_CODE (up2)))
| TREE_CODE (up2) == LOOP_EXPR) || TREE_CODE (up2) == LOOP_EXPR)
abort (); abort ();
SUPPRESS_UNREACHABLE_ERROR (up2) = 1; SUPPRESS_UNREACHABLE_ERROR (up2) = 1;
} }