diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2021-10-01 10:56:45 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2021-10-01 10:56:45 +0200 |
commit | 97909f80fde6c4ce2a2fa1e11b325a80c4741b8c (patch) | |
tree | 44cea07dea819a3ab4a36cb12423733b4839c3a0 /gcc/fortran/array.c | |
parent | 021ad8e5cf9ab66e1a0a41dce3a54586facb86e0 (diff) | |
download | gcc-97909f80fde6c4ce2a2fa1e11b325a80c4741b8c.zip gcc-97909f80fde6c4ce2a2fa1e11b325a80c4741b8c.tar.gz gcc-97909f80fde6c4ce2a2fa1e11b325a80c4741b8c.tar.bz2 |
Fix ICE with stack checking emulation at -O2
On bare-metal platforms, the Ada compiler emulates stack checking (it is
required by the language and tested by ACATS) in the runtime via the
stack_check_libfunc hook of the RTL middle-end. Calls to the function
are generated as libcalls but they now require a proper function type
at -O2 or above.
gcc/
* explow.c: Include langhooks.h.
(set_stack_check_libfunc): Build a proper function type.
Diffstat (limited to 'gcc/fortran/array.c')
0 files changed, 0 insertions, 0 deletions