public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/15223] New: gcj ICE when compiling pizza-1.1.jar
@ 2004-04-30 10:49 marco at technoboredom dot net
  2004-04-30 12:37 ` [Bug java/15223] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: marco at technoboredom dot net @ 2004-04-30 10:49 UTC (permalink / raw)
  To: java-prs

GCJ 3.4.0 produces an ICE when trying to compile the pizza compiler version 1.1. 

HP of the pizza: 
  http://pizzacompiler.sourceforge.net/
Download Mirrors for version 1.1: 
 http://prdownloads.sourceforge.net/pizzacompiler/pizza-1.1.jar?download

The following transript shows how the error manifests: 

=begin=
marco@gontscharow:~/tmp/piz$ /opt/gcc-3.4.0/bin/gcj -v
Reading specs from /opt/gcc-3.4.0/lib/gcc/i386-slackware-linux/3.4.0/specs
Reading specs from
/opt/gcc-3.4.0/lib/gcc/i386-slackware-linux/3.4.0/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../source/gcc-3.4.0/configure --prefix=/opt/gcc-3.4.0
--enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking
--with-gnu-ld --verbose --target=i386-slackware-linux --host=i386-slackware-linux
Thread model: posix
gcc version 3.4.0
marco@gontscharow:~/tmp/piz$ /opt/gcc-3.4.0/bin/gcj pizza-1.1.jar -o pizza
C:\pizza\main\src\net\sf\pizzacompiler\compiler\ClassReader.pizza: In class
`net.sf.pizzacompiler.compiler.ClassReader$$closures':
C:\pizza\main\src\net\sf\pizzacompiler\compiler\ClassReader.pizza: In method
`net.sf.pizzacompiler.compiler.ClassReader$$closures.$apply(java.lang.Object)':
C:\pizza\main\src\net\sf\pizzacompiler\compiler\ClassReader.pizza:27: internal
compiler error: in size_binop, at fold-const.c:1598
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
=end=

-- 
           Summary: gcj ICE when compiling pizza-1.1.jar
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marco at technoboredom dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: i386-slackware-linux
  GCC host triplet: i386-slackware-linux
GCC target triplet: i386-slackware-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/15223] gcj ICE when compiling pizza-1.1.jar
  2004-04-30 10:49 [Bug java/15223] New: gcj ICE when compiling pizza-1.1.jar marco at technoboredom dot net
@ 2004-04-30 12:37 ` pinskia at gcc dot gnu dot org
  2004-09-28 14:17 ` aph at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-30 12:37 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-30 12:37 -------
Confirmed, here is the backtrace for the tree-ssa compiler (but note it was compiled with -O3): 
#0  0x9002c878 in exit ()
#1  0x000893a8 in internal_error (msgid=0x551448 "A\220\001?") at /Users/pinskia/src/gcc-tree-
ssa/gcc/gcc/diagnostic.c:537
#2  0x000893a8 in internal_error (msgid=0x551448 "A\220\001?") at /Users/pinskia/src/gcc-tree-
ssa/gcc/gcc/diagnostic.c:537
#3  0x000894cc in fancy_abort (file=0x1 <Address 0x1 out of bounds>, line=10, function=0x0) at /
Users/pinskia/src/gcc-tree-ssa/gcc/gcc/diagnostic.c:583
#4  0x000a5b1c in size_binop (code=5575752, arg0=0x9002c868, arg1=0xbffff2f0) at /Users/
pinskia/src/gcc-tree-ssa/gcc/gcc/fold-const.c:1645
#5  0x00044c38 in build_invokevirtual (dtable=0x43d1a6e0, method=0x43bf6d00) at /Users/pinskia/
src/gcc-tree-ssa/gcc/gcc/java/expr.c:1965
#6  0x00048c14 in expand_invoke (opcode=5505024, method_ref_index=0, nargs=131) at /Users/
pinskia/src/gcc-tree-ssa/gcc/gcc/java/expr.c:2140
#7  0x0004ace8 in process_jvm_instruction (PC=1136618752, byte_ops=0x43d1a6e0 "", length=131) 
at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/java/javaop.def:292
#8  0x0004e2f4 in expand_byte_code (jcf=0x405b1ffc, method=0x0) at /Users/pinskia/src/gcc-tree-
ssa/gcc/gcc/java/expr.c:2925
#9  0x0005ba5c in parse_class_file () at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/java/jcf-parse.c:784
#10 0x0005e860 in java_parse_file (set_yydebug=1) at /Users/pinskia/src/gcc-tree-ssa/gcc/gcc/java/
jcf-parse.c:1210
#11 0x00072e70 in toplev_main (argc=12, argv=0x42176d62) at /Users/pinskia/src/gcc-tree-ssa/
gcc/gcc/toplev.c:1650
#12 0x00001a30 in _start (argc=0, argv=0x4305f200, envp=0xc) at /SourceCache/Csu/Csu-46/crt.c:
267
#13 0x000018a4 in start ()

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |3.4.0 3.5.0 tree-ssa
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-30 12:37:42
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/15223] gcj ICE when compiling pizza-1.1.jar
  2004-04-30 10:49 [Bug java/15223] New: gcj ICE when compiling pizza-1.1.jar marco at technoboredom dot net
  2004-04-30 12:37 ` [Bug java/15223] " pinskia at gcc dot gnu dot org
@ 2004-09-28 14:17 ` aph at gcc dot gnu dot org
  2004-09-28 14:24 ` aph at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: aph at gcc dot gnu dot org @ 2004-09-28 14:17 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |aph at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
      Known to fail|3.4.0 4.0 tree-ssa          |3.4.0 4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/15223] gcj ICE when compiling pizza-1.1.jar
  2004-04-30 10:49 [Bug java/15223] New: gcj ICE when compiling pizza-1.1.jar marco at technoboredom dot net
  2004-04-30 12:37 ` [Bug java/15223] " pinskia at gcc dot gnu dot org
  2004-09-28 14:17 ` aph at gcc dot gnu dot org
@ 2004-09-28 14:24 ` aph at gcc dot gnu dot org
  2004-09-28 14:27 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: aph at gcc dot gnu dot org @ 2004-09-28 14:24 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From aph at gcc dot gnu dot org  2004-09-28 14:24 -------
Probably the same bug as 17586


 $ gcj pizza-1.1.jar -o pizza --main=net.sf.pizzacompiler.compiler.Main
 $ gcj --version
gcj (GCC) 4.0.0 20040923 (experimental)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/15223] gcj ICE when compiling pizza-1.1.jar
  2004-04-30 10:49 [Bug java/15223] New: gcj ICE when compiling pizza-1.1.jar marco at technoboredom dot net
                   ` (2 preceding siblings ...)
  2004-09-28 14:24 ` aph at gcc dot gnu dot org
@ 2004-09-28 14:27 ` pinskia at gcc dot gnu dot org
  2004-09-28 16:44 ` pinskia at gcc dot gnu dot org
  2004-09-28 18:22 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-28 14:27 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/15223] gcj ICE when compiling pizza-1.1.jar
  2004-04-30 10:49 [Bug java/15223] New: gcj ICE when compiling pizza-1.1.jar marco at technoboredom dot net
                   ` (3 preceding siblings ...)
  2004-09-28 14:27 ` pinskia at gcc dot gnu dot org
@ 2004-09-28 16:44 ` pinskia at gcc dot gnu dot org
  2004-09-28 18:22 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-28 16:44 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-28 16:44 -------
Reopening because the patch was reverted.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15223


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/15223] gcj ICE when compiling pizza-1.1.jar
  2004-04-30 10:49 [Bug java/15223] New: gcj ICE when compiling pizza-1.1.jar marco at technoboredom dot net
                   ` (4 preceding siblings ...)
  2004-09-28 16:44 ` pinskia at gcc dot gnu dot org
@ 2004-09-28 18:22 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-28 18:22 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-28 18:22 -------
Fixed now.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15223


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-09-28 18:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-30 10:49 [Bug java/15223] New: gcj ICE when compiling pizza-1.1.jar marco at technoboredom dot net
2004-04-30 12:37 ` [Bug java/15223] " pinskia at gcc dot gnu dot org
2004-09-28 14:17 ` aph at gcc dot gnu dot org
2004-09-28 14:24 ` aph at gcc dot gnu dot org
2004-09-28 14:27 ` pinskia at gcc dot gnu dot org
2004-09-28 16:44 ` pinskia at gcc dot gnu dot org
2004-09-28 18:22 ` pinskia 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).