gcc/libgfortran
Tobias Burnus e205ec03f0 libgfortran's ISO_Fortran_binding.c: Use GCC11 version for backward-only code [PR108056]
Since GCC 12, the conversion between the array descriptors formats - the
internal (GFC) and the C binding one (CFI) - moved to the compiler itself
such that the cfi_desc_to_gfc_desc/gfc_desc_to_cfi_desc functions are only
used with older code (GCC 9 to 11).  The newly added checks caused asserts
as older code did not pass the proper values (e.g. real(4) as effective
argument arrived as BT_ASSUME type as the effective type got lost inbetween).

As proposed in the PR, revert to the GCC 11 version - known bugs is better
than some fixes and new issues. Still, GCC 12 is much better in terms of
TS29113 support and should really be used.

This patch uses the current libgomp version of the GCC 11 branch, except
it fixes the GFC version number (which is 0), uses calloc instead of malloc,
and sets the lower bound to 1 instead of keeping it as is for
CFI_attribute_other.

libgfortran/ChangeLog:

	PR libfortran/108056
	* runtime/ISO_Fortran_binding.c (cfi_desc_to_gfc_desc,
	gfc_desc_to_cfi_desc): Mostly revert to GCC 11 version for
	those backward-compatiblity-only functions.
2022-12-15 12:26:06 +01:00
..
caf fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
config Fortran: F2018 rounding modes changes 2022-09-19 13:03:28 +02:00
generated fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
ieee Fortran: handle RADIX kind in IEEE_SET_ROUNDING_MODE 2022-09-21 11:15:21 +02:00
intrinsics fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
io libgfortran: Use __gthread_t instead of pthread_t 2022-10-10 07:16:03 +00:00
m4 fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
runtime libgfortran's ISO_Fortran_binding.c: Use GCC11 version for backward-only code [PR108056] 2022-12-15 12:26:06 +01:00
acinclude.m4 fortran: Add -static-libquadmath support [PR46539] 2022-08-17 17:03:30 +02:00
aclocal.m4 Add `--with-toolexeclibdir=' configuration option 2020-01-24 11:24:25 +00:00
c99_protos.h Update copyright years. 2022-01-03 10:42:10 +01:00
ChangeLog Daily bump. 2022-10-13 00:17:37 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019 Update copyright years. 2020-01-01 12:51:42 +01:00
ChangeLog-2020 Rotate ChangeLog files - part 1 - add ChangeLog-2020. 2021-01-01 17:27:52 +01:00
ChangeLog-2021 Rotate ChangeLog files - part 1 - add ChangeLog-2021. 2022-01-03 10:18:16 +01:00
config.h.in libgfortran: Fix up LIBGFOR_CHECK_FLOAT128 [PR106137] 2022-06-29 17:04:50 +02:00
configure regenerate configure files 2022-10-12 09:31:32 +02:00
configure.ac fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
configure.host Fortran: add support for IEEE intrinsics on aarch64 non-glibc targets 2021-12-20 00:49:10 +01:00
gfortran.map Fortran: add symbols in version map for IEEE_GET_MODES and IEEE_SET_MODES 2022-09-21 10:04:22 +02:00
ISO_Fortran_binding.h Update copyright years. 2022-01-03 10:42:10 +01:00
kinds-override.h fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
libgfortran.h libgfortran: Switch some more __float128 uses to _Float128 2022-06-29 17:06:02 +02:00
libgfortran.spec.in libgfortran: Use the libtool macro to determine libm availability. 2021-08-27 16:50:19 +01:00
libtool-version
Makefile.am fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
Makefile.in fortran, libgfortran: Avoid using libquadmath for glibc 2.26+ 2022-06-28 13:14:45 +02:00
mk-kinds-h.sh libgfortran: Switch some more __float128 uses to _Float128 2022-06-29 17:06:02 +02:00
mk-sik-inc.sh libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00
mk-srk-inc.sh libgfortran: Skip integer-kind=16 check for amdgcn 2020-07-26 07:20:24 +02:00