aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorJavier Miranda <miranda@adacore.com>2024-10-15 09:32:43 +0000
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-11-04 16:57:57 +0100
commit7c7a8d60881fb727ce8ed4685bc1f484834db110 (patch)
treee968ebdc4ab04be83f627123062123c5cd91f8fd /gcc/fortran
parent81ffd5e413e577221a4696fe915b851f1bd4788b (diff)
downloadgcc-7c7a8d60881fb727ce8ed4685bc1f484834db110.zip
gcc-7c7a8d60881fb727ce8ed4685bc1f484834db110.tar.gz
gcc-7c7a8d60881fb727ce8ed4685bc1f484834db110.tar.bz2
ada: Missing runtime check in interpolated string
When the type imposed by the context for an interpolated string is constrained, the compiler silently omits adding a runtime check. gcc/ada/ChangeLog: * exp_ch2.adb (Expand_N_Interpolated_String_Literal): Use the base type of the type imposed by the context for building the interpolated string image; required to allow the expander adding the missing runtime check when the target type is constrained. (Apply_Static_Length_Check): New subprogram.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions