public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/27439]  New: gcj chokes on invalid expression
@ 2006-05-04 22:35 brakhane at gmail dot com
  2006-05-05  7:11 ` [Bug java/27439] " pinskia at gcc dot gnu dot org
  2007-01-09 20:53 ` tromey at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: brakhane at gmail dot com @ 2006-05-04 22:35 UTC (permalink / raw)
  To: java-prs

The following short (invalid) sourcecode:
---
class Foo {
    public void bar() {
        int x = 42;
        ++-x;
    }
}
---
crashes gcj 4.0.2:
$ gcj -v -save-temps Bug.java
Using built-in specs.
Reading specs from /usr/lib/gcc/i486-linux-gnu/4.0.4/../../../libgcj.spec
rename spec lib to liborig
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java
--prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
--enable-java-awt=gtk-default --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.4 20060422 (prerelease) (Debian 4.0.3-2)
 /usr/lib/gcc/i486-linux-gnu/4.0.4/jc1 Bug.java -fhash-synchronization
-fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions
-fno-omit-frame-pointer -fkeep-inline-functions -quiet -dumpbase Bug.java
-mtune=i686 -auxbase Bug -g1 -version -o Bug.s
GNU Java version 4.0.4 20060422 (prerelease) (Debian 4.0.3-2) (i486-linux-gnu)
        compiled by GNU C version 4.0.4 20060422 (prerelease) (Debian 4.0.3-2).
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=32055
Class path starts here:
    ./
    /usr/share/java/libgcj-4.0.4.jar/ (system) (zip)
Bug.java: In class 'Foo':
Bug.java: In method 'Foo.bar()':
Bug.java:4: internal compiler error: in gimplify_expr, at gimplify.c:4378
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.

When compiling to bytecode, the error becomes:
internal compiler error: in generate_bytecode_insns, at java/jcf-write.c:1960


-- 
           Summary: gcj chokes on invalid expression
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brakhane at gmail dot com


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


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

* [Bug java/27439] gcj chokes on invalid expression
  2006-05-04 22:35 [Bug java/27439] New: gcj chokes on invalid expression brakhane at gmail dot com
@ 2006-05-05  7:11 ` pinskia at gcc dot gnu dot org
  2007-01-09 20:53 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-05  7:11 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-05-05 07:11 -------
Confirmed, related to PR 8923.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |8923
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-05 07:11:56
               date|                            |


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


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

* [Bug java/27439] gcj chokes on invalid expression
  2006-05-04 22:35 [Bug java/27439] New: gcj chokes on invalid expression brakhane at gmail dot com
  2006-05-05  7:11 ` [Bug java/27439] " pinskia at gcc dot gnu dot org
@ 2007-01-09 20:53 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-09 20:53 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2007-01-09 20:48 -------
All gcj front end bugs have been fixed by the gcj-eclipse branch merge.
I'm mass-closing the affected PRs.
If you believe one of these was closed in error, please reopen it
with a note explaining why.
Thanks.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2007-01-09 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-04 22:35 [Bug java/27439] New: gcj chokes on invalid expression brakhane at gmail dot com
2006-05-05  7:11 ` [Bug java/27439] " pinskia at gcc dot gnu dot org
2007-01-09 20:53 ` 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).