https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96063
--- Comment #17 from Ian McInerney <ian.s.mcinerney at ieee dot org> --- I think that r11-1899 is the more important one to backport, since that will also allow for warnings that are generated by headers inside "-isystem" include directories to not have the notes printed without the warning.