This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] assume sprintf formatting of wide characters may fail (PR 86853)


>> +	      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' ?


Bernd.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]