Commit b4220f64 by Tom Tromey Committed by Tom Tromey

re PR java/21519 (ICE in generate_bytecode_conditional, at java/jcf-write.c:1337)

gcc/java:
	PR java/21519:
	* jcf-write.c (generate_bytecode_insns) <SAVE_EXPR>: Don't call
	NOTE_PUSH.
libjava:
	PR java/21519:
	* testsuite/libjava.compile/pr21519.java: New file.
	* testsuite/libjava.compile/pr21519.no-link: New file.

From-SVN: r99739
parent dfb2c39a
2005-05-15 Tom Tromey <tromey@redhat.com>
PR java/21519:
* jcf-write.c (generate_bytecode_insns) <SAVE_EXPR>: Don't call
NOTE_PUSH.
2005-05-12 Aaron Luchko <aluchko@redhat.com>
* gcj.texi: Add '-verify', '-noverify', and '-verifyremote'.
......
......@@ -1800,6 +1800,7 @@ create_label_decl (tree name)
TREE_TYPE (return_address_type_node));
DECL_CONTEXT (decl) = current_function_decl;
DECL_IGNORED_P (decl) = 1;
DECL_ARTIFICIAL (decl) = 1;
return decl;
}
......
......@@ -2235,7 +2235,6 @@ generate_bytecode_insns (tree exp, int target, struct jcf_partial *state)
{
tree type = TREE_TYPE (exp);
emit_load (arg, state);
NOTE_PUSH (TYPE_IS_WIDE (type) ? 2 : 1);
}
break;
case CONVERT_EXPR:
......
2005-05-15 Tom Tromey <tromey@redhat.com>
PR java/21519:
* testsuite/libjava.compile/pr21519.java: New file.
* testsuite/libjava.compile/pr21519.no-link: New file.
2005-05-15 Tom Tromey <tromey@redhat.com>
* stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
......
public class pr21519 {
char[] source;
public int compute(int pos) {
for (int i = 0; i < pos; ++i)
if (!(source[i] == ' ' || source[i] == '\t')) return -1;
return pos;
}
}
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