b4220f64e3
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
9 lines
191 B
Java
9 lines
191 B
Java
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;
|
|
}
|
|
}
|