This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/23404] New: Interpreted byte code does not run properly on ppc


This is on a Fedora Core 4 machine:

gij (GNU libgcj) version 4.0.1 20050727 (Red Hat 4.0.1-5)

The to be attached code does not run properly on ppc.  Runs fine on x86 (32 and
64 bit).  The byte-code appears to be correct because it runs fine using the IBM
JVM.

Compiled with:

javac plplot/*/*.java

Run with:

java plplot.examples.x08

The output is the arguments passed to plw3d().  In the source this is:

pls.w3d( 1.0, 1.0, 1.0, -1.5, 1.5, -0.5, 1.5, zmin, zmax,
                           alt[k], az[k] );

Output (first loop) is:

0.0
1.0
1.0
-1.5
1.5
-0.5
1.5
-5.093869927024149
NaN
-3.7431896459052014E-274
5.32506451E-315

Correct output should be:

1.0
1.0
1.0
-1.5
1.5
-0.5
1.5
-5.093869927024149
6.636602508481567
60.0
30.0

It looks like arg1, arg9, arg10, and arg11 are not passed properly.

-- 
           Summary: Interpreted byte code does not run properly on ppc
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: orion at cora dot nwra dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
  GCC host triplet: ppc64-redhat-linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]