public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4555] [Ada] Remove unnecessary call to No_Uint_To_0
@ 2021-10-20 10:19 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-10-20 10:19 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:18606d776642a876a787c37491c52b81c30ebc83

commit r12-4555-g18606d776642a876a787c37491c52b81c30ebc83
Author: Bob Duff <duff@adacore.com>
Date:   Sat Oct 16 15:30:45 2021 -0400

    [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:
---
 gcc/ada/gcc-interface/decl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c
index ff512d1f05a..98b4aaf23a1 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,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-20 10:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 10:19 [gcc r12-4555] [Ada] Remove unnecessary call to No_Uint_To_0 Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).