diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-09-27 20:42:41 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-10-10 14:12:28 +0200 |
commit | e05e5d6bc60f938717a58a3a715c67236b0b2974 (patch) | |
tree | 57fed7fcfc2fb4c0468db8e04076bd46d8f8ad71 /gcc/fold-const.cc | |
parent | 6bd83c90191a512d2c9094623248219d610b4372 (diff) | |
download | gcc-e05e5d6bc60f938717a58a3a715c67236b0b2974.zip gcc-e05e5d6bc60f938717a58a3a715c67236b0b2974.tar.gz gcc-e05e5d6bc60f938717a58a3a715c67236b0b2974.tar.bz2 |
ada: Fix bad finalization of limited aggregate in conditional expression
This happens when the conditional expression is immediately returned, for
example in an expression function.
gcc/ada/
* exp_aggr.adb (Is_Build_In_Place_Aggregate_Return): Return true
if the aggregate is a dependent expression of a conditional
expression being returned from a build-in-place function.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions