g++ from mainline (and 4.1.x) miscompilers gcjx from gcjx-branch.

How to repeat:

(1) check out gcjx-branch
(2) configure and build gcjx (make all-gcjx, make install-gcjx)
(3) Check out classpath
(4) configure classpath for build with --with-gcjx pointing to gcjx (2)
(5) make

The classpath build stalls at

 /home/gdr/bin/gcjx -bootclasspath '' -sourcepath '' -classpath ../lib:. -d
classes
/home/gdr/redhat/classpath/classpath/examples/gnu/classpath/examples/*/*.java
/home/gdr/redhat/classpath/classpath/examples/gnu/classpath/examples/*/*/*.java
/home/gdr/redhat/classpath/classpath/examples/gnu/classpath/examples/*/*/*/*.java
 


Notice that using g++ from GCC-3.3.x and GCC-3.4.x just works fine.
GCC-4.0.x from FSF source has similar problem.  Tom reports that GCC-4.0.x
from Fedora Core works fine.

-- Gaby


-- 
           Summary: g++ miscompiles gcjx
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gdr at gcc dot gnu dot org
 GCC build triplet: native
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: native


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


Reply via email to