[Ada] Reduce use of primary stack on string concatenation
authorArnaud Charlet <charlet@adacore.com>
Fri, 26 Jun 2020 11:49:37 +0000 (07:49 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 16 Oct 2020 07:31:26 +0000 (03:31 -0400)
commit263bb39332e927de70f50cef55d0bbe6a8a104a1
treecd1e94d9c4a6c4554d45d5e2741e03bbbee5a5ed
parenta121d54f7b59cbb424f707acd587adba4ad265d4
[Ada] Reduce use of primary stack on string concatenation

gcc/ada/

* exp_ch4.adb (Expand_Concatenate): Allocate result of string
concatenation on secondary stack when relevant.
gcc/ada/exp_ch4.adb