https://gcc.gnu.org/g:815490f1d3ab695a9afda54743a5df0465c97773

commit r16-1436-g815490f1d3ab695a9afda54743a5df0465c97773
Author: Ronan Desplanques <desplanq...@adacore.com>
Date:   Thu Mar 27 14:46:00 2025 +0100

    ada: Remove duplicate setter call
    
    gcc/ada/ChangeLog:
    
            * sem_ch3.adb (Build_Derived_Numeric_Type): Remove duplicate call.

Diff:
---
 gcc/ada/sem_ch3.adb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb
index 75901bb8eff0..e56ec5be0259 100644
--- a/gcc/ada/sem_ch3.adb
+++ b/gcc/ada/sem_ch3.adb
@@ -8133,9 +8133,6 @@ package body Sem_Ch3 is
          Set_Non_Binary_Modulus
            (Implicit_Base, Non_Binary_Modulus (Parent_Base));
 
-         Set_Is_Known_Valid
-           (Implicit_Base, Is_Known_Valid (Parent_Base));
-
       elsif Is_Floating_Point_Type (Parent_Type) then
 
          --  Digits of base type is always copied from the digits value of

Reply via email to