gcc/libgfortran/runtime
Sandra Loosemore e4966e1d1d Bind(c): signed char is not a Fortran character type
CFI_allocate and CFI_select_part were incorrectly treating
CFI_type_signed_char as a Fortran character type for the purpose of
deciding whether or not to use the elem_len argument.  It is a Fortran
integer type per table 18.2 in the 2018 Fortran standard.

Other functions in ISO_Fortran_binding.c appeared to handle this case
correctly already.

2021-07-15  Sandra Loosemore  <sandra@codesourcery.com>

libgfortran/
	* runtime/ISO_Fortran_binding.c (CFI_allocate): Don't use elem_len
	for CFI_type_signed_char.
	(CFI_select_part): Likewise.
2021-07-22 15:15:50 -07:00
..
backtrace.c
bounds.c
compile_options.c
convert_char.c
environ.c
error.c
fpu.c
in_pack_generic.c
in_unpack_generic.c
ISO_Fortran_binding.c Bind(c): signed char is not a Fortran character type 2021-07-22 15:15:50 -07:00
main.c
memory.c
minimal.c
pause.c
select_inc.c
select.c
stop.c
string.c libgfortran: Fix negation for largest integer [PR81986] 2021-03-03 08:07:16 +01:00