Unverified Commit 53c260d9 authored by jeanPerier's avatar jeanPerier Committed by GitHub
Browse files

[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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment