This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug in experimental GCJ - scientific notation


I'm using a recent CVS check out to play with GCJ and ran into this problem.
Looks like numbers such as -0.4900604943e13 aren't handled properly...

[shayne@tuna math]$ gcj -v --save-temps -c Bessel.java
Reading specs from /home/shayne/gcj/lib/gcc-lib/i686-pc-linux-gnu/2.96/specs
Reading specs from
/home/shayne/gcj/lib/gcc-lib/i686-pc-linux-gnu/2.96/../../../libgcj.spec
rename spec lib to liborig
rename spec startfile to startfileorig
gcc version 2.96 20000918 (experimental)
 /home/shayne/gcj/lib/gcc-lib/i686-pc-linux-gnu/2.96/jc1
Bessel.java -fasynchronous-exceptions -quiet -dumpbase Bessel.java -g1 -ver
sion -o Bessel.s
GNU Java version 2.96 20000918 (experimental) (i686-pc-linux-gnu) compiled
by GNU C version 2.96 20000918 (experimental).
Bessel.java:801: ')' expected.
                double ans1=x*(-0.4900604943e13+y*(0.1275274390e13
                                                ^
Bessel.java:801: Internal error: Segmentation fault.
   Please submit a full bug report.
   See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
[shayne@tuna math]$

Thanks,
Shayne

Bessel.s

Bessel.java


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]