[flang] ensure parent component are first in runtime type info (#81259)
Static info generated to describe derived types contain an array listing the components of some derived type. The parent component must be first for the runtime to properly works. The current sort was only relying on the offset, but if the parent is an empty type, this did not work properly because its offset did not compare smaller than the first component and the parent was not added first
parent
b726a819
Please register or sign in to comment