egcs broken?
Alexandre Petit-Bianco
apbianco@cygnus.com
Wed Jul 19 10:00:00 GMT 2000
Oskar Liljeblad writes:
> java/awt/Component.java:1011: Tree check: expected class 'e', have 'x' (error_mark)
> java/awt/Component.java:1011: Internal compiler error in `java_complete_lhs', at ../gcc/java/parse.y:10931
> Please submit a full bug report.
> See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
Besides the failure at evaluating that the expressoin is constant, the
internal compiler error shouldn't happen. Here's a patch, I'll check
it in when I'll get a chance to.
./A
Index: parse.y
===================================================================
diff -u -p parse.y
--- old-parse.y Tue Jul 18 19:35:41 2000
+++ parse.y Tue Jul 18 21:27:53 2000
@@ -10928,7 +10928,7 @@ java_complete_lhs (node)
else
node = patch_switch_statement (node);
- if (TREE_OPERAND (node, 0) == error_mark_node)
+ if (node == error_mark_node || TREE_OPERAND (node, 0) == error_mark_node)
nn = error_mark_node;
else
{
More information about the Java
mailing list