https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.org See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=81009 --- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Eyal Rozenberg from comment #2) > (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). OK, but even if it's not a dup, I still think it's related enough to go under "See Also"