https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66041
--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Created attachment 35491 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35491&action=edit Patch When calling lbound for the lower bound of an array section, a reference to the full array was built. This still contained a reference to ar->start, which hit an assert. This rather obvious patch corrects this.