diff options
author | Bob Duff <duff@adacore.com> | 2021-10-16 15:30:45 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-10-20 10:17:06 +0000 |
commit | 18606d776642a876a787c37491c52b81c30ebc83 (patch) | |
tree | f09de9cf4721a87ed0e80e4e2bf6177ff255d62a /gcc | |
parent | 4afb464e1f76d63d89c4034f78d5ebb3400eaf3c (diff) | |
download | gcc-18606d776642a876a787c37491c52b81c30ebc83.zip gcc-18606d776642a876a787c37491c52b81c30ebc83.tar.gz gcc-18606d776642a876a787c37491c52b81c30ebc83.tar.bz2 |
[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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/gcc-interface/decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |