aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndre Vehreschild <vehre@gcc.gnu.org>2024-07-11 11:21:04 +0200
committerAndre Vehreschild <vehre@gcc.gnu.org>2024-07-11 15:38:59 +0200
commitb9513c6746bfdbbb2f5e2a52bc3504236692beeb (patch)
treee6bd5b5f9e913b74924bcf0f278187ee8fec959a /gcc
parent738711703db9f42490f06211a3e8fba07a84dbce (diff)
downloadgcc-b9513c6746bfdbbb2f5e2a52bc3504236692beeb.zip
gcc-b9513c6746bfdbbb2f5e2a52bc3504236692beeb.tar.gz
gcc-b9513c6746bfdbbb2f5e2a52bc3504236692beeb.tar.bz2
Fix bootstrap broken by gcc-15-1965-ge4f2f46e015
gcc/fortran/ChangeLog: * trans-array.cc (gfc_conv_array_parameter): Init variable to NULL_TREE to fix bootstrap.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/trans-array.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-array.cc b/gcc/fortran/trans-array.cc
index ed0ad54..140d933 100644
--- a/gcc/fortran/trans-array.cc
+++ b/gcc/fortran/trans-array.cc
@@ -8662,7 +8662,7 @@ gfc_conv_array_parameter (gfc_se *se, gfc_expr *expr, bool g77,
tree stmt;
tree parent = DECL_CONTEXT (current_function_decl);
tree ctree;
- tree pack_attr;
+ tree pack_attr = NULL_TREE; /* Set when packing class arrays. */
bool full_array_var;
bool this_array_result;
bool contiguous;