diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-05-13 10:55:44 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-06-15 09:59:37 +0200 |
commit | c8c5bf93aaa481d4b08491d4545b74e2b329d16d (patch) | |
tree | c537e34a093e930a0e101a0a31cda9ecd17a1e0a /gcc/ada/gcc-interface/decl.cc | |
parent | 3f3f37c3f72f4840ef2d304e00f5bc8c28374bce (diff) | |
download | gcc-c8c5bf93aaa481d4b08491d4545b74e2b329d16d.zip gcc-c8c5bf93aaa481d4b08491d4545b74e2b329d16d.tar.gz gcc-c8c5bf93aaa481d4b08491d4545b74e2b329d16d.tar.bz2 |
ada: Fix too small secondary stack allocation for returned aggregate
This restores the specific treatment of aggregates that are returned through
an extended return statement in a function returning a class-wide type, and
which was incorrectly dropped in an earlier change.
gcc/ada/
* exp_ch3.adb (Make_Allocator_For_Return): Deal again specifically
with an aggregate returned through an object of a class-wide type.
Diffstat (limited to 'gcc/ada/gcc-interface/decl.cc')
0 files changed, 0 insertions, 0 deletions