* Drew Parsons:
> An upstream author has asked whether we know of tools or compiler flags
> to help catch problems mixing 64 and 32 bit integers, for instance
> catching implicit conversions, as in
>
>int64_t n = ...;
>for (int32_t i=0; i ...
>}
>
> There is -fsanitize=signed-in
An upstream author has asked whether we know of tools or compiler flags
to help catch problems mixing 64 and 32 bit integers, for instance
catching implicit conversions, as in
int64_t n = ...;
for (int32_t i=0; iThere is -fsanitize=signed-integer-overflow (which generates a runtime
error m
2 matches
Mail list logo