aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/interface.c
diff options
context:
space:
mode:
authorJavier Miranda <miranda@adacore.com>2020-04-30 11:55:42 -0400
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:14:08 -0300
commit61e1942ceccb6a496b21d5e40c4bd026ac9d9a96 (patch)
tree3ba4c1204af03ae5920c4397034371be476885e5 /gcc/fortran/interface.c
parentfe42e9f79db9eaddab0ea9b17f61f80ac0587edc (diff)
downloadgcc-61e1942ceccb6a496b21d5e40c4bd026ac9d9a96.zip
gcc-61e1942ceccb6a496b21d5e40c4bd026ac9d9a96.tar.gz
gcc-61e1942ceccb6a496b21d5e40c4bd026ac9d9a96.tar.bz2
[Ada] ACATS 4.1G - C760A02 - Near infinite finalization
2020-06-19 Javier Miranda <miranda@adacore.com> gcc/ada/ * exp_ch3.ads (Ensure_Activation_Chain_And_Master): New subprogram. * exp_ch3.adb (Ensure_Activation_Chain_And_Master): New subprogram that factorizes code. (Expand_N_Object_Declaration): Call new subprogram. * sem_ch6.adb (Analyze_Function_Return): Returning a build-in-place unconstrained array type defer the full analysis of the returned object to avoid generating the corresponding constrained subtype; otherwise the bounds would be created in the stack and a dangling reference would be returned pointing to the bounds.
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions