public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "brakhane at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/27439] New: gcj chokes on invalid expression Date: Thu, 04 May 2006 22:35:00 -0000 [thread overview] Message-ID: <bug-27439-12638@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2006-05-04 22:35 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-05-04 22:35 brakhane at gmail dot com [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-27439-12638@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).