aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gnat_ugn.texi
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2020-11-10 18:43:52 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2020-11-30 09:16:18 -0500
commita09afbd1c6f17b150a8d4ce26cd65f390d056035 (patch)
treec4d68a57cfbac40ac00d18133658a8189e7b2cc3 /gcc/ada/gnat_ugn.texi
parent4056d9abfa67e3584f68e1c2ecb8de9bc05a68cf (diff)
downloadgcc-a09afbd1c6f17b150a8d4ce26cd65f390d056035.zip
gcc-a09afbd1c6f17b150a8d4ce26cd65f390d056035.tar.gz
gcc-a09afbd1c6f17b150a8d4ce26cd65f390d056035.tar.bz2
[Ada] Add stream-oriented attributes support for 128-bit integer types
gcc/ada/ * doc/gnat_ugn/building_executable_programs_with_gnat.rst (-xdr): Document that XDR is not supported for 128-bit integer types. * gnat_ugn.texi: Regenerate. * exp_strm.adb (Build_Elementary_Input_Call): Deal with types larger than Long_Long_Integer. (Build_Elementary_Write_Call): Likewise. * rtsfind.ads (RE_Id): Add RE_I_LLL{I,U] and RE_W_LLL{I,U}. (RE_Unit_Table): Add entries for them. * libgnat/s-stratt.ads (I_LLLI): New inline function. (I_LLLU): Likewise. (W_LLLI): New inline procedure. (W_LLLU): Likewise. * libgnat/s-stratt.adb (S_LLLI): New subtype of SEA. (S_LLLU): Likewise. (From_LLLI): New instance of Unchecked_Conversion. (From_LLLU): Likewise. (To_LLLI): Likewise. (To_LLLU): Likewise. (I_LLLI): Implement. (I_LLLU): Likewise. (W_LLLI): Likewise. (W_LLLU): Likewise.
Diffstat (limited to 'gcc/ada/gnat_ugn.texi')
-rw-r--r--gcc/ada/gnat_ugn.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 1c73eed..2981d78 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -21,7 +21,7 @@
@copying
@quotation
-GNAT User's Guide for Native Platforms , Nov 19, 2020
+GNAT User's Guide for Native Platforms , Nov 20, 2020
AdaCore
@@ -15919,6 +15919,9 @@ Exclude source files (check object consistency only).
Use the target-independent XDR protocol for stream oriented attributes
instead of the default implementation which is based on direct binary
representations and is therefore target-and endianness-dependent.
+However it does not support 128-bit integer types and the exception
+@code{Ada.IO_Exceptions.Device_Error} is raised if any attempt is made
+at streaming 128-bit integer types with it.
@geindex -Xnnn (gnatbind)