public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/21519] New: ICE in generate_bytecode_conditional,
@ 2005-05-11 21:00 pluto at agmk dot net
2005-05-11 22:00 ` [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337 pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: pluto at agmk dot net @ 2005-05-11 21:00 UTC (permalink / raw)
To: gcc-bugs
at java/jcf-write.c:1337
X-Bugzilla-Reason: CC
# gcc-4.0.1-20050507
during build (gcj -C -O2 for all *.java) of the org.eclipse.jdt.core
from eclipse 3.1M6 tarball I get:
org/eclipse/jdt/internal/compiler/parser/RecoveredElement.java:210:
internal compiler error: in generate_bytecode_conditional,
at java/jcf-write.c:1337
# testcase:
unpack eclipse-sourceBuild-srcIncluded-3.1M6.zip and run below script:
cd plugins/org.eclipse.jdt.core
cp -f model/org/eclipse/jdt/core/Signature.java \
compiler/org/eclipse/jdt/core
for f in `find batch -name '*.java' -or -name '*.properties'`; do
g=`echo $f | sed 's:^batch/:compiler/:' | xargs dirname`
[ -d $g ] || mkdir -p $g
cp -a $f $g
done
cd compiler
for f in `find -name '*.java' | cut -c 3-`; do
gcj -Wno-deprecated -C -O2 $f
done
--
Summary: ICE in generate_bytecode_conditional,
at java/jcf-write.c:1337
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
GCC build triplet: i686-pld-linux
GCC host triplet: i686-pld-linux
GCC target triplet: i686-pld-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21519
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337
2005-05-11 21:00 [Bug java/21519] New: ICE in generate_bytecode_conditional, pluto at agmk dot net
@ 2005-05-11 22:00 ` pinskia at gcc dot gnu dot org
2005-05-13 20:02 ` tromey at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-11 22:00 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Summary|ICE in |ICE in
|generate_bytecode_conditiona|generate_bytecode_conditiona
|l, |l, at java/jcf-write.c:1337
|at java/jcf-write.c:1337 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21519
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337
2005-05-11 21:00 [Bug java/21519] New: ICE in generate_bytecode_conditional, pluto at agmk dot net
2005-05-11 22:00 ` [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337 pinskia at gcc dot gnu dot org
@ 2005-05-13 20:02 ` tromey at gcc dot gnu dot org
2005-05-13 20:10 ` tromey at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-05-13 20:02 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-05-13 20:01:59
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21519
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337
2005-05-11 21:00 [Bug java/21519] New: ICE in generate_bytecode_conditional, pluto at agmk dot net
2005-05-11 22:00 ` [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337 pinskia at gcc dot gnu dot org
2005-05-13 20:02 ` tromey at gcc dot gnu dot org
@ 2005-05-13 20:10 ` tromey at gcc dot gnu dot org
2005-05-13 20:17 ` tromey at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-05-13 20:10 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337
2005-05-11 21:00 [Bug java/21519] New: ICE in generate_bytecode_conditional, pluto at agmk dot net
` (2 preceding siblings ...)
2005-05-13 20:10 ` tromey at gcc dot gnu dot org
@ 2005-05-13 20:17 ` tromey at gcc dot gnu dot org
2005-05-13 21:24 ` tromey at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-05-13 20:17 UTC (permalink / raw)
To: gcc-bugs
------- 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;
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21519
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337
2005-05-11 21:00 [Bug java/21519] New: ICE in generate_bytecode_conditional, pluto at agmk dot net
` (3 preceding siblings ...)
2005-05-13 20:17 ` tromey at gcc dot gnu dot org
@ 2005-05-13 21:24 ` tromey at gcc dot gnu dot org
2005-05-15 18:29 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-05-13 21:24 UTC (permalink / raw)
To: gcc-bugs
------- 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 |tromey at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21519
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337
2005-05-11 21:00 [Bug java/21519] New: ICE in generate_bytecode_conditional, pluto at agmk dot net
` (4 preceding siblings ...)
2005-05-13 21:24 ` tromey at gcc dot gnu dot org
@ 2005-05-15 18:29 ` cvs-commit at gcc dot gnu dot org
2005-05-15 19:10 ` cvs-commit at gcc dot gnu dot org
2005-05-15 19:13 ` tromey at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-15 18:29 UTC (permalink / raw)
To: gcc-bugs
------- 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: tromey@gcc.gnu.org 2005-05-15 18:28:30
Modified files:
gcc/java : ChangeLog expr.c jcf-write.c
libjava : ChangeLog
Added files:
libjava/testsuite/libjava.compile: pr21519.java pr21519.no-link
Log message:
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1610&r2=1.1611
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/expr.c.diff?cvsroot=gcc&r1=1.225&r2=1.226
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/jcf-write.c.diff?cvsroot=gcc&r1=1.162&r2=1.163
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3612&r2=1.3613
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.compile/pr21519.java.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.compile/pr21519.no-link.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21519
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337
2005-05-11 21:00 [Bug java/21519] New: ICE in generate_bytecode_conditional, pluto at agmk dot net
` (5 preceding siblings ...)
2005-05-15 18:29 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-15 19:10 ` cvs-commit at gcc dot gnu dot org
2005-05-15 19:13 ` tromey at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-15 19:10 UTC (permalink / raw)
To: gcc-bugs
------- 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: tromey@gcc.gnu.org 2005-05-15 19:09:30
Modified files:
gcc/java : ChangeLog jcf-write.c
libjava : ChangeLog
Added files:
libjava/testsuite/libjava.compile: pr21519.java pr21519.no-link
Log message:
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1556.2.20&r2=1.1556.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/jcf-write.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.162&r2=1.162.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3391.2.65&r2=1.3391.2.66
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.compile/pr21519.java.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.compile/pr21519.no-link.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21519
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337
2005-05-11 21:00 [Bug java/21519] New: ICE in generate_bytecode_conditional, pluto at agmk dot net
` (6 preceding siblings ...)
2005-05-15 19:10 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-15 19:13 ` tromey at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-05-15 19:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tromey at gcc dot gnu dot org 2005-05-15 19:13 -------
Fix checked in.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21519
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-05-15 19:13 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-11 21:00 [Bug java/21519] New: ICE in generate_bytecode_conditional, pluto at agmk dot net
2005-05-11 22:00 ` [Bug java/21519] ICE in generate_bytecode_conditional, at java/jcf-write.c:1337 pinskia at gcc dot gnu dot org
2005-05-13 20:02 ` tromey at gcc dot gnu dot org
2005-05-13 20:10 ` tromey at gcc dot gnu dot org
2005-05-13 20:17 ` tromey at gcc dot gnu dot org
2005-05-13 21:24 ` tromey at gcc dot gnu dot org
2005-05-15 18:29 ` cvs-commit at gcc dot gnu dot org
2005-05-15 19:10 ` cvs-commit at gcc dot gnu dot org
2005-05-15 19:13 ` tromey at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).