https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115326
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think this is just invalid testcase. The compiler is told that *a is const, but it is changed through a different lvalue.
jakub at gcc dot gnu.org via Gcc-bugs Mon, 03 Jun 2024 06:50:37 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115326
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think this is just invalid testcase. The compiler is told that *a is const, but it is changed through a different lvalue.