bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #60798] Make does not compile with GCC 11.1.0


From: Dmitry Goncharov
Subject: Re: [bug #60798] Make does not compile with GCC 11.1.0
Date: Sat, 19 Jun 2021 11:10:14 -0400

On Sat, Jun 19, 2021 at 10:31 AM Dmitrii Pasechnik
<dima.pasechnik@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]