gcj/248: Several bugs in optimization

zastai@hotmail.com zastai@hotmail.com
Fri May 26 00:40:00 GMT 2000


>Number:         248
>Category:       gcj
>Synopsis:       Several bugs in optimization
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 26 00:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     zastai@hotmail.com
>Release:        gcj 2.95.2
>Organization:
>Environment:
i386-pc-msdosdjgpp
>Description:
 * If libgcj.a is built with optimization, gij and jv-convert won't link:
   Affected files:
    java/lang/Class.java
     -> if -O3 or higher is used, hackTrampoline and checkMemberAccess are no
        longer present in the object file.
     Probable cause: -O3 turns on -finline-functions, and the Java compiler
      treats incorrectly inlines them.
    java/util/GregorianCalendar.java
    java/util/TimeZone.java
    java/util/zip/ZipEntry.java
     -> These miss LJv0, LJv1, ... entries if optimizing; -O0 is required.
   <This bug has also been submitted to the gcc-bugs list>
>How-To-Repeat:
Try to build the affected files with optimization.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Java-prs mailing list