Re: n3294 - The restrict function attribute as a replacement of the restrict qualifier
From: Alejandro Colomar <alx@kernel.org>
Date: 2024-07-26 22:26:10
Attachments
- signature.asc [application/pgp-signature] 833 bytes
From: Alejandro Colomar <alx@kernel.org>
Date: 2024-07-26 22:26:10
On Sat, Jul 27, 2024 at 12:03:20AM GMT, Martin Uecker wrote:
quoted
Maybe if GNU C compilers (GCC and Clang) add it first as an extension, adding diagnostics, it would help.Both GCC and Clang already have such diagnostics and/or run-time checks: https://godbolt.org/z/MPnxqb9h7
Hi Martin, I guess that's prior art enough to make this UB in ISO C. Is there any paper for this already? Does any of your paper cover that? Should I prepare one? Have a lovely night! Alex -- <https://www.alejandro-colomar.es/>