Fortran: keep values of IEEE_CLASS_TYPE in sync
commitade9130f50905e82c8557c3df049cd1147c11986
authorFrancois-Xavier Coudert <fxcoudert@gmail.com>
Wed, 29 Dec 2021 20:32:57 +0000 (29 21:32 +0100)
committerFrancois-Xavier Coudert <fxcoudert@gmail.com>
Wed, 29 Dec 2021 20:37:28 +0000 (29 21:37 +0100)
treea45a1abe56243a46673198cdf8adac1c61bf9a9e
parent05edf6c470ae0ab50d42f16e78e476dbcc774842
Fortran: keep values of IEEE_CLASS_TYPE in sync

Fortran 2018 added some synonyms to the existing values, namely
IEEE_NEGATIVE_SUBNORMAL (which is the same as IEEE_NEGATIVE_DENORMAL)
and IEEE_POSITIVE_SUBNORMAL (same as IEEE_POSITIVE_DENORMAL). When they
were added to the C side, they were not kept in sync with the Fortran
part of the library. Thew new values are not used (yet), so it is
currently harmless, but better fix it.

libgfortran/ChangeLog:

* ieee/ieee_helper.c: Fix enum values.
libgfortran/ieee/ieee_helper.c