aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-loop-jam.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-05-24 01:14:18 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-07-04 07:45:51 +0000
commitbdd5056736b642f0124e6cb26f9c2fd8be028908 (patch)
treef3d73d533b4c8d45a878aca452fdf87d13e00049 /gcc/gimple-loop-jam.cc
parentdf69e326b39dabc34f0c9b31f694079e5fa1343a (diff)
downloadgcc-bdd5056736b642f0124e6cb26f9c2fd8be028908.zip
gcc-bdd5056736b642f0124e6cb26f9c2fd8be028908.tar.gz
gcc-bdd5056736b642f0124e6cb26f9c2fd8be028908.tar.bz2
[Ada] Plug loophole for built-in-place return with limited_with clause
When the result type of a function requiring built-in-place return is only visible through a limited_with clause, the compiled needs to wait for the nonlimited view to be available in order to compute whether the built-in-place return is needed, and this comprises tagging the function with the Returns_By_Ref flag. gcc/ada/ * exp_ch6.adb (Build_In_Place_Formal): Also compute Returns_By_Ref for the function if the extra formals were not built initially.
Diffstat (limited to 'gcc/gimple-loop-jam.cc')
0 files changed, 0 insertions, 0 deletions