Hi, 2011/5/9 Niko Tyni <nt...@debian.org>: > On Mon, May 09, 2011 at 01:43:40PM +0900, Nobuhiro Iwamatsu wrote: >> Source: perl >> Version: 5.12.3-6 >> Severity: wishlist >> User: debian-...@superh.org >> Usertags: sh4 >> X-Debbugs-CC: debian-sup...@lists.debian.org > >> Malformed UTF-8 character (13 bytes, need 13, after start byte 0xff) >> in sprintf at op/ver.t line 241. >> # Failed at op/ver.t line 241 >> # got "9223372036854775807.0" >> # expected "9223372036854775807.9223372036854775808" >> t/op/ver.......................................................FAILED at >> test 45 > >> double value cannot display. But float is OK. > >> ./perl -e 'printf ("%vd\n", eval "v9223372036854775807.9223372036854775808")' >> Malformed UTF-8 character (13 bytes, need 13, after start byte 0xff) >> in printf at -e line 1. >> 9223372036854775807.0 >> ./perl -e 'printf ("%vd\n", eval "v2147483647.214748364")' >> 2147483647.214748364 > > I must say I don't understand this at all. Is there something exotic > about doubles on sh4?
I debuged this and I understood that this was a bug of GCC. This problem is revised when I changed optimization from O2 to O1. Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org