diff options
| author | Sandra Loosemore <sandra@codesourcery.com> | 2021-07-01 13:07:59 -0700 |
|---|---|---|
| committer | Sandra Loosemore <sandra@codesourcery.com> | 2021-07-01 13:07:59 -0700 |
| commit | 58b735b70b03884052c80ac032df90eed7059f8d (patch) | |
| tree | 6a63ca354a1091d8cfe074e580cbca9147f3ec72 /libgcc | |
| parent | b97486f465ff7ee2ed1a5305bcc211563891c37e (diff) | |
| download | gcc-58b735b70b03884052c80ac032df90eed7059f8d.zip gcc-58b735b70b03884052c80ac032df90eed7059f8d.tar.gz gcc-58b735b70b03884052c80ac032df90eed7059f8d.tar.bz2 | |
Fortran: set version field in CFI_cdesc_t to CFI_VERSION
When converting a GFC descriptor to a CFI descriptor, it was
incorrectly copying the version number from the former to the latter.
It should be using the value of CFI_VERSION instead (currently 1).
Going the other direction, the GFC version field is initialized to
zero elsewhere, so do that here too.
2021-06-30 Tobias Burnus <tobias@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>
libgfortran/
* runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc):
Initialize version field to 0.
(gfc_desc_to_cfi_desc): Initialize version field to CFI_VERSION.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions
