j
k
j a
j l
On 8/28/23 4:51 AM, David Laight wrote:
I just found a(nother) clang bug: int f(void) { return "a"[2]; } compiles to just a 'return'.
I don't think that's a bug. It's undefined behavior due to an out-of-bound read. What do you expect it to return?
Back to the thread
Back to the list