https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117239
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #60338|0 |1 is obsolete| | --- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 60363 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60363&action=edit gcc15-pr117239.patch Based on that here is an updated patch which tries to invalidate only what really has to be invalidated for the const/pure calls.