* 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>
Fix for PR java/5941:
@ -85,7 +89,7 @@
Fix for PR java/6294:
* parse.h (INNER_INTERFACE_MODIFIERS): Allow ACC_PRIVATE for inner
interfaces.
2002-04-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
Fix for PR java/6085:
@ -232,7 +236,7 @@ Thu Mar 28 13:22:22 CET 2002 Jan Hubicka <jh@suse.cz>
Fix for PR java/5993:
* parse.y (resolve_package): Return the decl if resolution was
successful. Don't special case "java.lang" and "java.lang.reflect"
successful. Don't special case "java.lang" and "java.lang.reflect"
packages. Set type_name to the merged identifier.
(resolved_qualified_expression_name): Print error using "name" if
resolve_package returns NULL_TREE.
@ -310,7 +314,7 @@ Thu Mar 28 13:22:22 CET 2002 Jan Hubicka <jh@suse.cz>
2002-03-20 Nic Ferrier <nferrier@tapsellferrier.co.uk>
* gcj.texi: @code{gcj} becomes @command{gcj}.
* gcj.texi: @code{gcj} becomes @command{gcj}.
@code{gcc} becomes @command{gcc}.
GcjRaw changed to gnu.gcc.RawData.

View File

@ -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;
}