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

  • [bug #60798] ... anonyme
    • [bug #60... Paul D. Smith
      • Re: ... Dmitrii Pasechnik
        • ... Paul Smith
          • ... Eli Zaretskii
          • ... Dmitrii Pasechnik
            • ... Paul Smith
              • ... Andreas Schwab
                • ... David A. Wheeler
                • ... RANDRIANAINA Georges Aaron
        • ... Dmitry Goncharov via Bug reports and discussion for GNU make
          • ... Dmitrii Pasechnik
            • ... Eli Zaretskii
      • [bug... Jouke Witteveen
        • ... Edward Welbourne
          • ... Jouke Witteveen
        • ... Jouke Witteveen
          • ... Jouke Witteveen
            • ... Jouke Witteveen
              • ... Paul D. Smith

Reply via email to