mirror of git://gcc.gnu.org/git/gcc.git
* parse.y (finish_for_loop): Fix if statement.
From-SVN: r53263
This commit is contained in:
parent
bdad4be519
commit
2c7e9098fb
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue