public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/30644]  New: gcj -fsyntax-only does not work properly
@ 2007-01-30 18:32 tromey at gcc dot gnu dot org
  2007-01-30 18:34 ` [Bug java/30644] " tromey at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-30 18:32 UTC (permalink / raw)
  To: java-prs

gcj -fsyntax-only should compile a .java file and throw away the
results.  (Arguably it should verify the resulting bytecode as well.)
This doesn't happen on trunk... it runs jc1 but not ecj1:

opsy. gcj -v -fsyntax-only -Werror HelloWorld.java
Using built-in specs.
Reading specs from
/home/tromey/gnu/4.2/install/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
Target: i686-pc-linux-gnu
Configured with: ../trunk/configure --prefix=/home/tromey/gnu/4.2/install
--enable-languages=c++,java,fortran --enable-threads=posix
--enable-checking=yes --enable-java-awt=gtk --disable-static
--disable-bootstrap --enable-java-maintainer-mode
Thread model: posix
gcc version 4.2.0 20070116 (prerelease)
 /home/tromey/gnu/4.2/install/libexec/gcc/i686-pc-linux-gnu/4.2.0/jc1
HelloWorld.java -fhash-synchronization -fno-use-divide-subroutine
-fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase
HelloWorld.java -mtune=generic -auxbase HelloWorld -g1 -Werror -version
-fsyntax-only -o /dev/null
GNU Java version 4.2.0 20070116 (prerelease) (i686-pc-linux-gnu)
        compiled by GNU C version 4.1.1 20060525 (Red Hat 4.1.1-1).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Class path starts here:
    ./
    /home/tromey/gnu/4.2/install/share/java/libgcj-4.2.0.jar/ (system) (zip)


-- 
           Summary: gcj -fsyntax-only does not work properly
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org


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


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

* [Bug java/30644] gcj -fsyntax-only does not work properly
  2007-01-30 18:32 [Bug java/30644] New: gcj -fsyntax-only does not work properly tromey at gcc dot gnu dot org
@ 2007-01-30 18:34 ` tromey at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-30 18:34 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from tromey at gcc dot gnu dot org  2007-01-30 18:34 -------
Duh.  I was running 4.2.  Sorry for the noise.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2007-01-30 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-30 18:32 [Bug java/30644] New: gcj -fsyntax-only does not work properly tromey at gcc dot gnu dot org
2007-01-30 18:34 ` [Bug java/30644] " tromey 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).