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

commit ad74bf18141740b0d4d154873fad0960535a7c0c
Author: Mikael Morin <mik...@gcc.gnu.org>
Date:   Sun Aug 10 21:23:45 2025 +0200

    Revert "Correction initialisation write_destination"
    
    This reverts commit 38bbc288025a34431268a17efee4231bff1a32d3.

Diff:
---
 gcc/fortran/trans-descriptor.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/fortran/trans-descriptor.cc b/gcc/fortran/trans-descriptor.cc
index 799a8e69c000..67f13cf20848 100644
--- a/gcc/fortran/trans-descriptor.cc
+++ b/gcc/fortran/trans-descriptor.cc
@@ -716,7 +716,7 @@ class constructor_elements
   bool constant;
 
 public:
-  constructor_elements () : values(nullptr), constant(true) {}
+  constructor_elements () : values(NULL), constant(true) {}
   void add_value (tree elt, tree val);
   tree build (tree type);
 };
@@ -770,8 +770,8 @@ struct write_destination
   }
   u;
 
-  write_destination (tree r, stmtblock_t *b) : type (REGULAR_ASSIGN), ref (r), 
u (b) {}
-  write_destination (tree d) : type (STATIC_INIT), ref(d), u() {}
+  write_destination (tree r, stmtblock_t *b) : ref(r), u(b) {}
+  write_destination (tree d) : ref(d), u() {}
 };

Reply via email to