Re: coreutils-9.4.170-7b206 undefined behaviour in tests

2024-03-27 Thread Kaz Kylheku
On 2024-03-24 07:20, Bruno Haible wrote: > I have proposed a fix for this in > , > but Paul Eggert opposes it. I took a look. There are reasons not to like it. It introduces a PTR_ADD(p, x) abstraction which is only different f

Re: coreutils-9.4.170-7b206 undefined behaviour in tests

2024-03-24 Thread Sam James
Bruno Haible writes: > Hi, > > Building coreutils-9.4.170-7b206 on a glibc system, with clang and ASAN and > UBSAN options, produces 4 test failures. > > I'm using clang 17.0.4 with the options > CC="$CC > -fsanitize=address,undefined,signed-integer-overflow,shift,integer-divide-by-zero" > CFLAG