------- Comment #1 from tromey at gcc dot gnu dot org 2007-04-18 18:12 -------
Are you sure you are using gcj 4.3?
I see a SEGV with 4.1 and 4.2. But with 4.3 I see an error:
opsy. gcj -C Fail.java
Fail.java:5: error: Cannot invoke toString() on the primitive type long
r=(a-b).toString();
^^^^^^^^^^^^^^^^
1 problem (1 error)
(Note that, in all likelihood, we won't fix front end bugs of this nature
in 4.1 or 4.2.)
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31622