On Sat, Jun 19, 2021 at 10:31 AM Dmitrii Pasechnik <dima.pasech...@cs.ox.ac.uk> wrote: > It's undefined behaviour in C to point to such a location, isn't it? > Is this hack really needed?
There is no hack. It is pointer arithmetic in c. p[-1] is the same as *(p-1). regards, Dmitry