bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /*unsigned*/ int level3 in gen-uni-tables.c


From: Paul Eggert
Subject: Re: /*unsigned*/ int level3 in gen-uni-tables.c
Date: Wed, 12 Aug 2020 12:27:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 8/12/20 12:12 PM, Bruno Haible wrote:
why would this matter? This is C code, not C++ code.

My guess is that it matters with picky implementations intended for debugging. The C standard allows implementations to trap when an out-of-range value is converted to a signed integer, and some debugging implementations do that. See, clang's new -fsanitize=implicit-signed-integer-change option for an example.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]