diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2022-05-04 12:31:14 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-06-01 08:43:17 +0000 |
commit | 121522250886c8e5ea663af724affc1884944bbe (patch) | |
tree | d6f670ed3fde05d4e4057ef4ae5f719af5cc134a /gcc/ada/gcc-interface | |
parent | fdb2f2e696250fafc13635ac8c026d82e05f7738 (diff) | |
download | gcc-121522250886c8e5ea663af724affc1884944bbe.zip gcc-121522250886c8e5ea663af724affc1884944bbe.tar.gz gcc-121522250886c8e5ea663af724affc1884944bbe.tar.bz2 |
[Ada] Fix composability of return on the secondary stack
Having components that need to be returned on the secondary stack would
not always force a record type to be returned on the secondary stack
itself.
gcc/ada/
* sem_util.adb
(Returns_On_Secondary_Stack.Caller_Known_Size_Record): Directly
check the dependence on discriminants for the variant part, if
any, instead of calling the Is_Definite_Subtype predicate.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions