This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47642] real(kind=16) - libquadmath - segfault on amd64 FreeBSD
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 14 Feb 2011 14:29:38 +0000
- Subject: [Bug fortran/47642] real(kind=16) - libquadmath - segfault on amd64 FreeBSD
- Auto-submitted: auto-generated
- References: <bug-47642-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47642
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-14 14:29:12 UTC ---
THe output depends. I get:
1.234500e+06
1.234500e+06
333333.3333333333333
333333.3333333333333
1.7
1.7
1.7e+36
1.7e+36
0x1.2d644p+20
0x1.2d644p+20
0X1.4585555555555P+18
0X1.4585555555555P+18
0x1.b333333333333333333333333333p+0
0x1.b333333333333p+0
0X1.476878AP+120
0X1.476878AP+120
1.234500e+06
333333.3333333333333
1.7
1.7e+36
0x1.2d644p+20
0X1.4585555555555P+18
0x1.b333333333333333333333333333p+0
0X1.476878AP+120
for the 23313 testcase and
12340000000000.100000
12340000000000.100000
12,340,000,000,000.100000
12,340,000,000,000.100000
12.340.000.000.000,100000
12.340.000.000.000,100000
12Â340Â000Â000Â000,100000
12Â340Â000Â000Â000,100000
1.234000e+13
1.234000e+13
ÛÙÛÛÛÛÛÛe+ÛÛ
ÛÙÛÛÛÛÛÛe+ÛÛ
for the 23316 testcase. But, the first part of the 23313 testcase relies on
printf hook support which is not present on targets other than Linux, so
you'll see there something different (e.g. %Qe etc. instead, for odd lines),
only the second part which uses quadmath_snprintf should be the same.
And the 23316 testcase is a testcase for localization, which you likely don't
have either (and is not written to use quadmath_snprintf anyway).