------- Comment #3 from eduardo dot iniesta at aquiline dot es  2007-04-19 
17:39 -------
(In reply to comment #1)

Thanks...

The exact version is:

$ gcj --version
gcj (GCC) 4.3.0 20061212 (experimental)
...

> 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.)
> 

(In reply to comment #1)
> 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.)
> 


-- 


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

Reply via email to