[PATCH] assume sprintf formatting of wide characters may fail (PR 86853)
Jeff Law
law@redhat.com
Thu Aug 16 22:47:00 GMT 2018
On 08/09/2018 01:29 PM, Bernd Edlinger wrote:
>>> + bool one_2_one_ascii
>>> + = (target_to_host_charmap[0] == 1 && target_to_host ('a') == 97);
>> Hmm. Is this really sufficient? I have nowhere near enough knowledge
>> of the potential target character sets to know if this is sufficiently
>> tight.
>
> Shouldn't it be target_to_host (97) == 'a' ?
According to Martin it actually doesn't matter, it can be written either
way and the result is still testing what we need.
jeff
More information about the Gcc-patches
mailing list