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

commit r15-8270-ga03e9d4932713c1696bb2bc134da8e8eac3edb94
Author: Iain Buclaw <ibuc...@gdcproject.org>
Date:   Tue Mar 18 18:47:45 2025 +0100

    d: Add missing Declaration bitfield setters/getters
    
    gcc/d/ChangeLog:
    
            * dmd/MERGE: Merge upstream dmd fde0f8c40a.
    
    Reviewed-on: https://github.com/dlang/dmd/pull/21014

Diff:
---
 gcc/d/dmd/MERGE         | 2 +-
 gcc/d/dmd/declaration.h | 4 ++++
 gcc/d/dmd/func.d        | 4 ++--
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/gcc/d/dmd/MERGE b/gcc/d/dmd/MERGE
index 57973b181157..1be4da416f45 100644
--- a/gcc/d/dmd/MERGE
+++ b/gcc/d/dmd/MERGE
@@ -1,4 +1,4 @@
-51be8bb729cfa41ff5af4f5b2a9b7b9902bfdaa1
+fde0f8c40a1b8eb78c3485cb0e940035bfe6fb00
 
 The first line of this file holds the git revision number of the last
 merge done from the dlang/dmd repository.
diff --git a/gcc/d/dmd/declaration.h b/gcc/d/dmd/declaration.h
index c535e4cbb14a..c7e45526084d 100644
--- a/gcc/d/dmd/declaration.h
+++ b/gcc/d/dmd/declaration.h
@@ -128,6 +128,10 @@ public:
     short inuse;                // used to detect cycles
     uint8_t bitFields;
 
+    LINK _linkage() const;
+    LINK _linkage(LINK v);
+    bool noUnderscore() const;
+
     const char *kind() const override;
     uinteger_t size(Loc loc) override final;
 
diff --git a/gcc/d/dmd/func.d b/gcc/d/dmd/func.d
index cc17be741c30..e96c3326b758 100644
--- a/gcc/d/dmd/func.d
+++ b/gcc/d/dmd/func.d
@@ -1006,12 +1006,12 @@ extern (C++) class FuncDeclaration : Declaration
     /**********************************
      * Generate a FuncDeclaration for a runtime library function.
      */
-    extern (D) static FuncDeclaration genCfunc(Parameters* fparams, Type 
treturn, const(char)* name, STC stc = STC.none)
+    extern(D) static FuncDeclaration genCfunc(Parameters* fparams, Type 
treturn, const(char)* name, STC stc = STC.none)
     {
         return genCfunc(fparams, treturn, Identifier.idPool(name[0 .. 
strlen(name)]), stc);
     }
 
-    extern (D) static FuncDeclaration genCfunc(Parameters* fparams, Type 
treturn, Identifier id, STC stc = STC.none)
+    extern(D) static FuncDeclaration genCfunc(Parameters* fparams, Type 
treturn, Identifier id, STC stc = STC.none)
     {
         FuncDeclaration fd;
         TypeFunction tf;

Reply via email to