gcc/libgfortran/runtime
Iain Sandoe e3cbb8c66c libgfortran: Fix bootstrap on targets without static_assert macro.
Although we build the library with GCC which is known to support
_Static_assert this might be done on a system without the macro
mapping static_assert to the compiler keyword.

The use of static_assert introduced with r12-6126-g3430132f3e82
causes bootstrap to fail on such targets, fixed by using the keyword
directly.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>

libgfortran/ChangeLog:

	* runtime/string.c (gfc_itoa): Use _Static_assert directly
	instead of via the static_assert macro.
2021-12-31 13:16:16 +00:00
..
backtrace.c Fortran: simplify library code for integer-to-decimal conversion 2021-12-25 15:07:12 +01:00
bounds.c
compile_options.c
convert_char.c
environ.c Fortran: Cast arguments of <ctype.h> functions to unsigned char 2021-12-18 09:21:16 +01:00
error.c Fortran: simplify library code for integer-to-decimal conversion 2021-12-25 15:07:12 +01:00
fpu.c
in_pack_generic.c
in_unpack_generic.c
ISO_Fortran_binding.c
main.c
memory.c
minimal.c
pause.c
select_inc.c
select.c
stop.c
string.c libgfortran: Fix bootstrap on targets without static_assert macro. 2021-12-31 13:16:16 +00:00