Hi,
2011/5/9 Niko Tyni <[email protected]>:
> On Mon, May 09, 2011 at 01:43:40PM +0900, Nobuhiro Iwamatsu wrote:
>> Source: perl
>> Version: 5.12.3-6
>> Severity: wishlist
>> User: [email protected]
>> Usertags: sh4
>> X-Debbugs-CC: [email protected]
>
>> 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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]