aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog4
-rw-r--r--libgomp/env.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index ab7f752..5066792 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,7 @@
+2025-10-28 Thomas Schwinge <tschwinge@baylibre.com>
+
+ * env.c (initialize_env): Simplify 'parse_stacksize' call.
+
2025-10-23 Andrew Stubbs <ams@baylibre.com>
* Makefile.am (libgomp_la_SOURCES): Add simple-allocator.c.
diff --git a/libgomp/env.c b/libgomp/env.c
index 626a753..f63a36a 100644
--- a/libgomp/env.c
+++ b/libgomp/env.c
@@ -2455,7 +2455,7 @@ initialize_env (void)
const char *env = getenv ("GOMP_STACKSIZE");
if (env != NULL
&& parse_stacksize ("GOMP_STACKSIZE", env,
- (void *[3]) {&none->icvs.stacksize}))
+ (void *[]) {&none->icvs.stacksize}))
gomp_set_icv_flag (&none->flags, GOMP_ICV_STACKSIZE);
}
if (none != NULL && gomp_get_icv_flag (none->flags, GOMP_ICV_STACKSIZE))