From: Jakub Jelinek Date: Thu, 30 Mar 2017 20:29:20 +0000 (+0200) Subject: * env.c (initialize_env): Initialize stacksize to 0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e02d868ada5f0bf72ce09680aa51a806d24f7591;p=gcc.git * env.c (initialize_env): Initialize stacksize to 0. From-SVN: r246598 --- 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. */