From: Bob Duff Date: Sat, 16 Oct 2021 19:30:45 +0000 (-0400) Subject: [Ada] Remove unnecessary call to No_Uint_To_0 X-Git-Tag: upstream/12.2.0~4142 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18606d776642a876a787c37491c52b81c30ebc83;p=platform%2Fupstream%2Fgcc.git [Ada] Remove unnecessary call to No_Uint_To_0 gcc/ada/ * gcc-interface/decl.c (gnat_to_gnu_entity): Remove unnecessary call to No_Uint_To_0. --- diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c index ff512d1..98b4aaf 100644 --- a/gcc/ada/gcc-interface/decl.c +++ b/gcc/ada/gcc-interface/decl.c @@ -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,