https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479
Eyal Rozenberg <eyalroz at technion dot ac.il> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|DUPLICATE |--- --- Comment #2 from Eyal Rozenberg <eyalroz at technion dot ac.il> --- (In reply to Marc Glisse from comment #1) > Seems similar enough. With respect - this is not about x being a const __restrict pointer; what I said (including the clang behavior) applies exactly the same when we remove the const. See: https://godbolt.org/z/hH643a (where the const is gone).