public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/7611: Internal error while compiling libjava with -O
@ 2002-08-16 15:03 Tom Tromey
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2002-08-16 15:03 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR java/7611; it has been noted by GNATS.

From: Tom Tromey <tromey@redhat.com>
To: Thomas Greve <tgreve@pc61.ixmid.com>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/7611: Internal error while compiling libjava with -O
Date: 16 Aug 2002 15:55:43 -0600

 >>>>> "Thomas" == Thomas Greve <tgreve@pc61.ixmid.com> writes:
 
 Thomas> java/io/FilePermission.java:153: internal error in generate_bytecode_insn - tree code not implemented: bit_field_ref
 
 The problem here is that gcc will sometimes change a field access into
 a bit-field access.  This happens in the tree-simplification routines
 (offhand I forget exactly where, but I think there is another PR on
 this topic).  The bytecode back end doesn't understand bit fields, and
 changing this would be difficult.
 
 I'm surprised to see this happen on x86.  Previously I believe it was
 only a problem on the alpha.
 
 Try building without -O (the .class files are all that matter).  That
 might help.
 
 I once started a patch to add a lang-hook to let `gcj -C' disable this
 particular optimization.  I still have it lying around somewhere but I
 haven't found the time to test it on my alpha box yet :-(
 
 Tom


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

* Re: java/7611: Internal error while compiling libjava with -O
@ 2002-08-21 17:44 tromey
  0 siblings, 0 replies; 3+ messages in thread
From: tromey @ 2002-08-21 17:44 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, java-prs, nobody, tgreve, tromey

Synopsis: Internal error while compiling libjava with -O

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Wed Aug 21 17:43:28 2002
Responsible-Changed-Why:
    I'm handling this
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Wed Aug 21 17:43:28 2002
State-Changed-Why:
    I checked in a fix for this.
    If you can try it, please do so and report back.
    I'm marking this PR as closed; we can reopen it if
    the problem persists.  However, I think it will not.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7611


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

* java/7611: Internal error while compiling libjava with -O
@ 2002-08-16  4:48 Thomas Greve
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Greve @ 2002-08-16  4:48 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7611
>Category:       java
>Synopsis:       Internal error while compiling libjava with -O
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 16 04:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Greve
>Release:        3.1.1
>Organization:
ixmid Software-Technologie GmbH
>Environment:
System: Linux pc61 2.4.17 #1 Mon Jan 28 12:18:28 MET 2002 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure  : ./configure --enable-shared --enable-threads --with-cpu=athlon --enable-languages=c,c++,java --with-system-zlib
>Description:
internal error while compiling java/io/FilePermission.java whith -O
/home/thomas/gnu/gcc-3.1.1/gcc/gcj -B/home/thomas/gnu/gcc-3.1.1/i686-pc-linux-gnu/libjava/ -B/home/thomas/gnu/gcc-3.1.1/gcc/ --encoding=UTF-8 -C -g1 -O -march=athlon -classpath '' -bootclasspath /home/thomas/gnu/gcc-3.1.1/i686-pc-linux-gnu/libjava:. \
             -d /home/thomas/gnu/gcc-3.1.1/i686-pc-linux-gnu/libjava java/io/FilePermission.java
java/io/FilePermission.java: In class `java.io.FilePermission':
java/io/FilePermission.java: In method `java.io.FilePermission.equals(java.lang.Object)':
java/io/FilePermission.java:153: internal error in generate_bytecode_insn - tree code not implemented: bit_field_ref
java/io/FilePermission.java:153: internal error in generate_bytecode_insn - tree code not implemented: bit_field_ref
java/io/FilePermission.java:153: confused by earlier errors, bailing out
>How-To-Repeat:
set JCFLAGS = -g1 -O -march=athlon in gcc-3.1.1/i686-pc-linux-gnu/libjava/Makefile
>Fix:
don't optimize
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-08-22  0:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-16 15:03 java/7611: Internal error while compiling libjava with -O Tom Tromey
  -- strict thread matches above, loose matches on Subject: below --
2002-08-21 17:44 tromey
2002-08-16  4:48 Thomas Greve

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).