--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-15
18:28 ---
Subject: Bug 21519
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-05-15 18:28:30
Modified files:
gcc/java : ChangeLog expr.c jcf-write.c
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-15
19:09 ---
Subject: Bug 21519
CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-05-15 19:09:30
Modified files:
gcc/java :
--- Additional Comments From tromey at gcc dot gnu dot org 2005-05-15
19:13 ---
Fix checked in.
--
What|Removed |Added
Status|ASSIGNED
--
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed||1
Last reconfirmed|-00-00 00:00:00
--- Additional Comments From tromey at gcc dot gnu dot org 2005-05-13
20:10 ---
One workaround is not to use -O2.
My current guess is that a fold-based optimization creates
a tree that the bytecode generator does not understand.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21519
--- Additional Comments From tromey at gcc dot gnu dot org 2005-05-13
20:17 ---
Reduced test case
public class reduce {
char[] source;
public int compute(int pos) {
for (int i = 0; i pos; ++i)
if (!(source[i] == ' ' || source[i] == '\t')) return -1;
return pos;
}
}
--- Additional Comments From tromey at gcc dot gnu dot org 2005-05-13
21:24 ---
I submitted a patch.
--
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu
--
What|Removed |Added
Keywords||ice-on-valid-code
Summary|ICE in |ICE in