Re: [PATCH 3/3] Move data definitions from icv.c back to env.c

2016-11-30 Thread Jakub Jelinek
On Wed, Nov 30, 2016 at 08:36:27PM +0300, Alexander Monakov wrote: > env.c contains a static constructor that would initialize various global > libgomp > data such as members of gomp_global_icv. Therefore it's not ok to define them > in a separate translation unit: under static linking this resul

[PATCH 3/3] Move data definitions from icv.c back to env.c

2016-11-30 Thread Alexander Monakov
env.c contains a static constructor that would initialize various global libgomp data such as members of gomp_global_icv. Therefore it's not ok to define them in a separate translation unit: under static linking this results in env.o not linked in (unless an incremental link on icv.o+env.o is perf