]> gcc.gnu.org Git - gcc.git/commitdiff
[Ada] Remove unnecessary call to No_Uint_To_0
authorBob Duff <duff@adacore.com>
Sat, 16 Oct 2021 19:30:45 +0000 (15:30 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 20 Oct 2021 10:17:06 +0000 (10:17 +0000)
gcc/ada/

* gcc-interface/decl.c (gnat_to_gnu_entity): Remove unnecessary
call to No_Uint_To_0.

gcc/ada/gcc-interface/decl.c

index ff512d1f05a64e5c322734f18f20ff5dec0c2275..98b4aaf23a1b4ee0c242e059733c7ef0aad066d5 100644 (file)
@@ -4490,7 +4490,7 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, bool definition)
       /* Likewise for the RM size, if any.  */
       if (!Known_RM_Size (gnat_entity) && TYPE_SIZE (gnu_type))
        Set_RM_Size (gnat_entity,
-                    No_Uint_To_0 (annotate_value (rm_size (gnu_type))));
+                    annotate_value (rm_size (gnu_type)));
 
       /* If we are at global level, GCC applied variable_size to the size but
         this has done nothing.  So, if it's not constant or self-referential,
This page took 0.071783 seconds and 5 git commands to generate.