https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101361
--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #14) > Comment 0 compiles without warnings since gcc 12.1.0, I'm not sure what > fixed it yet. It stopped warning with r12-4726-g9a27acc30a34b7 Make full use of context-sensitive ranges in access warnings.