aboutsummaryrefslogtreecommitdiff
path: root/gcc/gdbhooks.py
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-06-21 00:50:40 +0200
committerMarc Poulhiès <poulhies@adacore.com>2023-06-27 14:05:52 +0200
commit2ed0e911e40e1182d58d19e79cfed72c04d2fd66 (patch)
tree0a552ffb8b9ec5f98f41355b979d124ad97fce94 /gcc/gdbhooks.py
parent388f22b92fe2218427e1b5ab5d29f51d037f2969 (diff)
downloadgcc-2ed0e911e40e1182d58d19e79cfed72c04d2fd66.zip
gcc-2ed0e911e40e1182d58d19e79cfed72c04d2fd66.tar.gz
gcc-2ed0e911e40e1182d58d19e79cfed72c04d2fd66.tar.bz2
ada: Fix bad interaction between inlining and thunk generation
This may cause the type of the RESULT_DECL of a function which returns by invisible reference to be turned into a reference type twice. gcc/ada/ * gcc-interface/trans.cc (Subprogram_Body_to_gnu): Add guard to the code turning the type of the RESULT_DECL into a reference type. (maybe_make_gnu_thunk): Use a more precise guard in the same case.
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions