Commit 2c7e9098 by Andreas Jaeger

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

From-SVN: r53263
parent bdad4be5
2002-05-07 Andreas Jaeger <aj@suse.de>
* parse.y (finish_for_loop): Fix if statement.
2002-05-06 Tom Tromey <tromey@redhat.com>
Fix for PR java/5941:
......
......@@ -15003,7 +15003,7 @@ finish_for_loop (location, condition, update, body)
/* Try to detect constraint violations. These would be
programming errors somewhere. */
if (! IS_EXPR_CODE_CLASS (TREE_CODE_CLASS (TREE_CODE (up2)))
| TREE_CODE (up2) == LOOP_EXPR)
|| TREE_CODE (up2) == LOOP_EXPR)
abort ();
SUPPRESS_UNREACHABLE_ERROR (up2) = 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment