diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 74f50e0f32f..ece8ff0b364 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2017-03-30 Jakub Jelinek + + * env.c (initialize_env): Initialize stacksize to 0. + 2017-03-22 Cesar Philippidis PR c++/80029 diff --git a/libgomp/env.c b/libgomp/env.c index 74dc6f38530..7c6c02220b6 100644 --- a/libgomp/env.c +++ b/libgomp/env.c @@ -1187,7 +1187,7 @@ handle_omp_display_env (unsigned long stacksize, int wait_policy) static void __attribute__((constructor)) initialize_env (void) { - unsigned long thread_limit_var, stacksize; + unsigned long thread_limit_var, stacksize = 0; int wait_policy; /* Do a compile time check that mkomp_h.pl did good job. */