gcc/libgfortran/runtime
Sandra Loosemore 58b735b70b 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.
2021-07-01 13:07:59 -07:00
..
backtrace.c Update copyright years. 2021-01-04 10:26:59 +01:00
bounds.c Update copyright years. 2021-01-04 10:26:59 +01:00
compile_options.c Update copyright years. 2021-01-04 10:26:59 +01:00
convert_char.c Update copyright years. 2021-01-04 10:26:59 +01:00
environ.c Update copyright years. 2021-01-04 10:26:59 +01:00
error.c Update copyright years. 2021-01-04 10:26:59 +01:00
fpu.c Update copyright years. 2021-01-04 10:26:59 +01:00
in_pack_generic.c Update copyright years. 2021-01-04 10:26:59 +01:00
in_unpack_generic.c Update copyright years. 2021-01-04 10:26:59 +01:00
ISO_Fortran_binding.c Fortran: set version field in CFI_cdesc_t to CFI_VERSION 2021-07-01 13:07:59 -07:00
main.c Update copyright years. 2021-01-04 10:26:59 +01:00
memory.c Update copyright years. 2021-01-04 10:26:59 +01:00
minimal.c Update copyright years. 2021-01-04 10:26:59 +01:00
pause.c Update copyright years. 2021-01-04 10:26:59 +01:00
select_inc.c Update copyright years. 2021-01-04 10:26:59 +01:00
select.c Update copyright years. 2021-01-04 10:26:59 +01:00
stop.c Update copyright years. 2021-01-04 10:26:59 +01:00
string.c libgfortran: Fix negation for largest integer [PR81986] 2021-03-03 08:07:16 +01:00