https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94378
--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Thanks Simon. The second diagnostic definitely looks like a false positive; am not sure about the first. Please can you file a separate bug about this.