https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79413
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 40704 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40704&action=edit gcc7-pr79413.patch Untested fix. Let's see what Ada will say to this.