https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97474
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 49397 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49397&action=edit fix in points-to analysis So this fix would allow this case (and fix the C++ FEs using of restrict)