This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32446] F0.n output format fails with large numbers
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jun 2007 01:56:25 -0000
- Subject: [Bug fortran/32446] F0.n output format fails with large numbers
- References: <bug-32446-6246@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jvdelisle at gcc dot gnu dot org 2007-06-21 01:56 -------
Program received signal SIGSEGV, Segmentation fault.
0x00000035e2a76ed0 in memcpy () from /lib64/libc.so.6
(gdb) bt
#0 0x00000035e2a76ed0 in memcpy () from /lib64/libc.so.6
#1 0x00002aaaaab47a8d in output_float (dtp=0x7fff5f62c710, f=0x6085e0,
value=3.4028234663852885981170418348451693e+38)
at ../../../gcc43/libgfortran/io/write.c:843
#2 0x00002aaaaab48024 in write_float (dtp=0x7fff5f62c710, f=0x6085e0,
source=0xfffffffffffffff2 <Address 0xfffffffffffffff2 out of bounds>,
len=-7157) at ../../../gcc43/libgfortran/io/write.c:977
#3 0x00002aaaaab43097 in formatted_transfer_scalar (dtp=0x7fff5f62c710,
type=BT_REAL, p=0x400da0, len=4, size=4)
at ../../../gcc43/libgfortran/io/transfer.c:1096
#4 0x00002aaaaab436fd in formatted_transfer (dtp=0x7fff5f62c710,
type=BT_REAL, p=<value optimized out>, kind=4, size=4, nelems=39)
at ../../../gcc43/libgfortran/io/transfer.c:1358
#5 0x0000000000400af6 in MAIN__ ()
#6 0x0000000000400c3c in main (argc=1, argv=0x7fff5f62c9a8)
at ../../../gcc43/libgfortran/fmain.c:22
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32446