Roland Illig <roland.illig%gmx.de@localhost> writes: > Are you sure about the UB? C11 6.3.1.3p3 and C11 6.5p4 say it's mostly > implementation-defined behavior, and GCC says at > https://gcc.gnu.org/onlinedocs/gcc/Integers-implementation.html that it > treats the sign bit as just another value bit. Maybe I'm missing something, but implementation-defined code is not ok either.
Attachment:
signature.asc
Description: PGP signature