https://gcc.gnu.org/g:f94a461641b9415c29fb58779ec5f82759626d77

commit r16-3902-gf94a461641b9415c29fb58779ec5f82759626d77
Author: Iain Sandoe <[email protected]>
Date:   Tue Sep 16 07:51:28 2025 +0100

    Ada, libgnarl: Fix Ada bootstrap for Darwin.
    
    Recent changes to Ada have produced a new diagnostic:
    s-osinte.adb:34:18: warning: unit "Interfaces.C.Extensions"...
    which causes a bootstrap fail on Darwin when Ada is enabled.
    
    Fixed thus.
    
            PR ada/114065
    
    gcc/ada/ChangeLog:
    
            * libgnarl/s-osinte__darwin.adb: Add and reference clause
            for Interfaces.C, remove clause for Interfaces.C.Extensions.
    
    Signed-off-by: Iain Sandoe <[email protected]>

Diff:
---
 gcc/ada/libgnarl/s-osinte__darwin.adb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/ada/libgnarl/s-osinte__darwin.adb 
b/gcc/ada/libgnarl/s-osinte__darwin.adb
index eeafbdbef8f1..955db064b773 100644
--- a/gcc/ada/libgnarl/s-osinte__darwin.adb
+++ b/gcc/ada/libgnarl/s-osinte__darwin.adb
@@ -31,10 +31,9 @@
 
 --  This is a Darwin Threads version of this package
 
-with Interfaces.C.Extensions;
+with Interfaces.C; use Interfaces.C;
 
 package body System.OS_Interface is
-   use Interfaces.C;
 
    ------------------------
    -- To_Target_Priority --

Reply via email to