]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Remove left-overs of Unaligned_Valid attribute
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 23 Sep 2021 09:18:02 +0000 (11:18 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 5 Oct 2021 08:20:06 +0000 (08:20 +0000)
gcc/ada/

* exp_attr.adb (Expand_Fpt_Attribute): Likewise.
* snames.ads-tmpl (Name_Unaligned_Valid): Delete.

gcc/ada/exp_attr.adb
gcc/ada/snames.ads-tmpl

index 3e7bb838118c12062ca97e0985c5683f3de345e2..096671f4e730f196a09b0f88041a276c0708a2ff 100644 (file)
@@ -165,8 +165,7 @@ package body Exp_Attr is
    --  the appropriate instantiation of System.Fat_Gen. Float arguments in Args
    --  have already been converted to the floating-point type for which Pkg was
    --  instantiated. The Nam argument is the relevant attribute processing
-   --  routine to be called. This is the same as the attribute name, except in
-   --  the Unaligned_Valid case.
+   --  routine to be called. This is the same as the attribute name.
 
    procedure Expand_Fpt_Attribute_R (N : Node_Id);
    --  This procedure expands a call to a floating-point attribute function
index 8a98deef3862bc1285d1b178badfd99450b26c42..e1af28bf67740a92fbf932057b91725ed7ef9e20 100644 (file)
@@ -1400,7 +1400,6 @@ package Snames is
    --  Note that the UP_ prefix means use the rest of the name in uppercase,
    --  e.g. Name_UP_RESULT corresponds to the name "RESULT".
 
-   Name_Unaligned_Valid                  : constant Name_Id := N + $;
    Name_UP_RESULT                        : constant Name_Id := N + $;
    Name_Suspension_Object                : constant Name_Id := N + $;
    Name_Synchronous_Task_Control         : constant Name_Id := N + $;