diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-04-29 09:15:13 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-06-14 09:34:50 +0200 |
commit | 55ceb87a72fee45a9a3e547a4e688f31d376a95a (patch) | |
tree | 2ec17a9279632c17d491d50086fcafa42bb56dcb /gcc/ada/cal.c | |
parent | cac993e84ea363dc593799ad1a6d0db5d0165f16 (diff) | |
download | gcc-55ceb87a72fee45a9a3e547a4e688f31d376a95a.zip gcc-55ceb87a72fee45a9a3e547a4e688f31d376a95a.tar.gz gcc-55ceb87a72fee45a9a3e547a4e688f31d376a95a.tar.bz2 |
ada: Do not create null GCC thunks
This prevents Gigi from creating null GCC thunks, i.e. thunks that have all
their internal parameters set to zero, replacing them with aliases. They
can arise in degenerate cases and null thunks would trip on an assertion in
former_thunk_p when they are later optimized.
gcc/ada/
PR ada/109817
* gcc-interface/trans.cc (maybe_make_gnu_thunk): Create an alias
instead of a null thunk.
Diffstat (limited to 'gcc/ada/cal.c')
0 files changed, 0 insertions, 0 deletions