aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-uninit.c
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2021-05-11 11:45:06 -0700
committerPierre-Marie de Rodat <derodat@adacore.com>2021-07-06 14:46:59 +0000
commit09768159b3f4b5343848d12d6cd5e95b574d8cca (patch)
tree04971ee305f0b66c33a7d5c53bc11a25873ca31f /gcc/tree-ssa-uninit.c
parent4206000ac40ef24704cf9bf936f8aac900cdbff5 (diff)
downloadgcc-09768159b3f4b5343848d12d6cd5e95b574d8cca.zip
gcc-09768159b3f4b5343848d12d6cd5e95b574d8cca.tar.gz
gcc-09768159b3f4b5343848d12d6cd5e95b574d8cca.tar.bz2
[Ada] Enable Ada 2020 Put_Image and Image support for tagged types
gcc/ada/ * exp_put_image.adb: Eliminate references to Debug_Flag_Underscore_Z. Change the meaning of the function Enable_Put_Image. Previously, a result of False for a tagged type would mean that the type does not get a Put_Image (PI) routine at all. Now, it means that the type gets a PI routine with very abbreviated functionality (just a call to Unknown_Put_Image). This resolves problems in mixing code compiled with and without the -gnat2022 switch. * exp_ch3.adb: Enable_Put_Image no longer participates in determining whether a tagged type gets a Put_Image procedure. A tagged type does not get a Put_Image procedure if the type Root_Buffer_Type is unavailable. This is needed to support cross targets where tagged types are supported but the type Root_Buffer_Type is not available. * exp_dist.adb: Add workarounds for some problems that arise when using the (obsolete?) Garlic implementation of the distributed systems annex with Ada 2022 constructs. * libgnat/a-sttebu.ads: Workaround a bootstrapping problem. Older compilers do not support raise expressions, so revise the the Pre'Class condition to meet this requirement without changing the condition's behavior at run time.
Diffstat (limited to 'gcc/tree-ssa-uninit.c')
0 files changed, 0 insertions, 0 deletions