diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2021-12-31 11:52:22 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-12-31 13:16:16 +0000 |
commit | e3cbb8c66c930ba738674b0fcf29848dc3ecfef2 (patch) | |
tree | 409935584107142f6f245892baaaea3469152317 /gcc/builtins.c | |
parent | d9da496a82c0ba33098d622efba34f4750c4ccb9 (diff) | |
download | gcc-e3cbb8c66c930ba738674b0fcf29848dc3ecfef2.zip gcc-e3cbb8c66c930ba738674b0fcf29848dc3ecfef2.tar.gz gcc-e3cbb8c66c930ba738674b0fcf29848dc3ecfef2.tar.bz2 |
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.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions