]>
Commit | Line | Data |
---|---|---|
e7385332 JJ |
1 | 2011-05-06 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | PR fortran/48894 | |
4 | * fortran.c: Include limits.h. | |
5 | (TO_INT): Define. | |
6 | (omp_set_dynamic_8_, omp_set_num_threads_8_): Use !!*set instead of | |
7 | *set. | |
8 | (omp_set_num_threads_8_, omp_set_schedule_8_, | |
9 | omp_set_max_active_levels_8_, omp_get_ancestor_thread_num_8_, | |
10 | omp_get_team_size_8_): Use TO_INT macro. | |
11 | * testsuite/libgomp.fortran/pr48894.f90: New test. | |
12 | ||
20790697 JJ |
13 | 2011-04-13 Jakub Jelinek <jakub@redhat.com> |
14 | ||
15 | PR middle-end/48591 | |
16 | * testsuite/libgomp.c/pr48591.c: New test. | |
17 | ||
bf382f5f RO |
18 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19 | ||
20 | PR bootstrap/48135 | |
21 | * acinclude.m4 (enable_symvers): Handle --disable-symvers. | |
22 | * configure: Regenerate. | |
23 | ||
113a53c1 JJ |
24 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
25 | ||
26 | PR fortran/47886 | |
27 | * testsuite/libgomp.fortran/task3.f90: New test. | |
28 | ||
0024f1af TB |
29 | 2011-02-24 Tobias Burnus <burnus@net-b.de> |
30 | ||
31 | * libgomp.texi (GOMP_STACKSIZE): Fix @ref to OMP_STACKSIZE. | |
32 | ||
21e1e594 JJ |
33 | 2011-02-23 Jakub Jelinek <jakub@redhat.com> |
34 | ||
35 | PR libgomp/47854 | |
36 | * libgomp.texi (omp_get_wtime): Don't say time in the past | |
37 | must be Unix Epoch. | |
38 | ||
67962076 JJ |
39 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
40 | ||
41 | PR libgomp/47804 | |
42 | * testsuite/libgomp.fortran/fortran.exp: Check for both | |
43 | libquadmath.a and libquadmath.${shlib_ext}. If neither exists, | |
44 | but $blddir != "", still append ${blddir}/${lang_library_path} | |
45 | to ld_library_path. | |
46 | ||
3808007c TB |
47 | 2011-02-16 Tobias Burnus <burnus@net-b.de> |
48 | ||
49 | PR libgomp/47758 | |
50 | * testsuite/libgomp.fortran/fortran.exp: Check for the existence | |
51 | of libquadmath.a before adding its libpath to ldflags. | |
52 | ||
53b4d41d JJ |
53 | 2011-02-14 Jakub Jelinek <jakub@redhat.com> |
54 | ||
55 | PR libgomp/47731 | |
56 | * config/linux/futex.h (futex_wait): Pass NULL as timeout argument | |
57 | to FUTEX_WAIT futex syscall. | |
58 | * config/linux/wait.h: Include <futex.h> instead of "futex.h". | |
59 | ||
029c8f3e RW |
60 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
61 | ||
62 | * configure: Regenerate. | |
63 | ||
bddd6626 BK |
64 | 2011-01-20 Benjamin Kosnik <bkoz@redhat.com> |
65 | ||
66 | PR libstdc++/36104 | |
67 | * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Accept gnu variants. | |
68 | ||
f1d4ab26 GP |
69 | 2011-01-16 Gerald Pfeifer |
70 | ||
71 | * configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS. | |
72 | ||
2b503136 JJ |
73 | 2010-12-14 Jakub Jelinek <jakub@redhat.com> |
74 | ||
75 | PR fortran/46874 | |
76 | * libgomp.fortran/allocatable6.f90: New test. | |
77 | ||
c0f9d583 RO |
78 | 2010-12-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
79 | ||
80 | * acinclude.m4 (symvers_renaming): Also set if enable_symvers = no. | |
81 | * configure: Regenerate. | |
82 | ||
7de6ba7a DK |
83 | 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> |
84 | ||
85 | PR target/40125 | |
86 | PR lto/46695 | |
87 | * configure.ac: Invoke ACX_LT_HOST_FLAGS. | |
88 | * Makefile.am (libgomp_la_LDFLAGS): Use lt_host_flags. | |
89 | * aclocal.m4: Regenerate. | |
90 | * configure: Regenerate. | |
91 | * Makefile.in: Regenerate. | |
92 | * testsuite/Makefile.in: Regenerate. | |
93 | ||
b7516041 JJ |
94 | 2010-12-02 Jakub Jelinek <jakub@redhat.com> |
95 | ||
edaadf74 JJ |
96 | PR fortran/46753 |
97 | * libgomp.fortran/pr46753.f90: New test. | |
98 | ||
4c698cf8 JJ |
99 | PR libgomp/43706 |
100 | * env.c (initialize_env): Default to spin count 300000 | |
101 | instead of 20000000 if neither OMP_WAIT_POLICY nor GOMP_SPINCOUNT | |
102 | is specified. | |
103 | ||
b7516041 JJ |
104 | PR libgomp/45240 |
105 | * parallel.c (GOMP_parallel_end): Unlock gomp_remaining_threads_lock | |
106 | at the end if sync builtins aren't supported. | |
107 | ||
6b43a34c RO |
108 | 2010-12-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
109 | ||
110 | * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. | |
111 | ||
950691fa RO |
112 | 2010-12-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
113 | ||
114 | * testsuite/libgomp.fortran/vla8.f90: Use dg-timeout-factor 2.0. | |
115 | ||
fb9041ea IS |
116 | 2010-11-24 Iain Sandoe <iains@gcc.gnu.org> |
117 | ||
118 | * testsuite/libgomp.fortran/fortran.exp: Add paths for libquadmath. | |
119 | ||
1ec601bf FXC |
120 | 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
121 | Tobias Burnus <burnus@net-b.de> | |
122 | ||
123 | PR fortran/32049 | |
124 | * configure.ac: | |
125 | * configure: Regenerate. | |
126 | ||
d213e92e MS |
127 | 2010-10-06 Marcus Shawcroft <marcus.shawcroft@arm.com> |
128 | ||
129 | * config/linux/futex.h: New. | |
130 | * config/linux/arm/mutex.h: New. | |
131 | * configure.tgt (arm*-*-linux*): Add config path. | |
132 | ||
89d5c66f SP |
133 | 2010-09-30 Sebastian Pop <sebastian.pop@amd.com> |
134 | ||
135 | * testsuite/libgomp.graphite/force-parallel-1.c: Adjust. | |
136 | ||
87350d4a TB |
137 | 2010-09-23 Tobias Burnus <burnus@net-b.de> |
138 | ||
139 | * libgomp.texi (omp_get_nested, omp_set_nested, omp_set_dynamic): | |
140 | Change Fortran datatype to LOGICAL. | |
141 | (omp_set_lock, omp_test_lock, omp_unset_lock, omp_set_nested_lock, | |
142 | omp_unset_nested_lock): Use intent(inout) instead of intent(out). | |
143 | ||
75bc9e5e RW |
144 | 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
145 | ||
146 | * configure: Regenerate. | |
147 | ||
acb5c916 JJ |
148 | 2010-07-26 Jakub Jelinek <jakub@redhat.com> |
149 | ||
150 | * libgomp.texi: Add function keyword to a couple of Fortran | |
151 | interfaces, use integer instead of int for Fortran. | |
152 | ||
6a2ba183 AH |
153 | 2010-07-26 Aldy Hernandez <aldyh@redhat.com> |
154 | ||
155 | * libgomp.texi: Fix spelling and pasto problems throughout. | |
156 | Adjust prototypes to match code. | |
157 | ||
df161b69 TB |
158 | 2010-07-24 Tobias Burnus <burnus@net-b.de> |
159 | ||
160 | * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: Add -w to | |
161 | silence -fwhole-file warning. | |
162 | ||
16c9d3b1 RO |
163 | 2010-07-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
164 | ||
165 | * configure.tgt (*-*-solaris2.[56]*): Removed. | |
166 | ||
6d28b933 RO |
167 | 2010-07-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
168 | ||
169 | * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. | |
170 | Define LIBGOMP_BUILD_VERSIONED_SHLIB_GNU, | |
171 | LIBGOMP_BUILD_VERSIONED_SHLIB_SUN automake conditionals. | |
172 | (HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define unless | |
173 | targetting solaris2*. | |
174 | * configure: Regenerate. | |
175 | * config.h.in: Regenerate. | |
176 | ||
177 | * Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB]: Protect | |
178 | libgomp_version_script with LIBGOMP_BUILD_VERSIONED_SHLIB_GNU. | |
179 | Add libgomp_version_dep. | |
180 | [LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]: Handle Sun symbol | |
181 | versioning. | |
182 | [!LIBGOMP_BUILD_VERSIONED_SHLIB]: Add libgomp_version_dep. | |
183 | (libgomp_la_DEPENDENCIES): Set to $(libgomp_version_dep). | |
184 | * Makefile.in: Regenerate. | |
185 | ||
186 | * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef unless | |
187 | HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT. | |
188 | * libgomp.map (OMP_1.0): Move symbols both in OMP_1.0 and OMP_3.0 | |
189 | to common block, protected by | |
190 | HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT. | |
191 | ||
07a67d6a GP |
192 | 2010-06-10 Gerald Pfeifer <gerald@pfeifer.com> |
193 | ||
194 | * libgomp.texi: Move to GFDL version 1.3. Update copyright years. | |
195 | ||
dbd34b89 IS |
196 | 2010-06-09 Iain Sandoe <iains@gcc.gnu.org> |
197 | ||
198 | PR bootstrap/43170 | |
199 | * configure: Regenerate. | |
200 | ||
13917ae3 RW |
201 | 2010-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
202 | ||
203 | PR other/43620 | |
204 | * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. | |
205 | * configure: Regenerate. | |
206 | * Makefile.in: Regenerate. | |
207 | * testsuite/Makefile.in: Regenerate. | |
208 | ||
b83a701b JJ |
209 | 2010-04-26 Jakub Jelinek <jakub@redhat.com> |
210 | ||
211 | PR c/43893 | |
212 | * testsuite/libgomp.c/pr43893.c: New test. | |
213 | * testsuite/libgomp.c++/pr43893.C: New test. | |
214 | ||
78db7d92 JJ |
215 | 2010-04-21 Jakub Jelinek <jakub@redhat.com> |
216 | ||
217 | PR middle-end/43570 | |
218 | * testsuite/libgomp.fortran/vla8.f90: New test. | |
219 | ||
5221d7a9 JJ |
220 | 2010-04-20 Jakub Jelinek <jakub@redhat.com> |
221 | ||
e4ba7a60 JJ |
222 | PR libgomp/43706 |
223 | * config/linux/affinity.c (gomp_init_affinity): Decrease | |
224 | gomp_available_cpus if affinity mask confines the process to fewer | |
225 | CPUs. | |
226 | * config/linux/proc.c (get_num_procs): If gomp_cpu_affinity is | |
227 | non-NULL, just return gomp_available_cpus. | |
228 | ||
5221d7a9 JJ |
229 | PR libgomp/43569 |
230 | * sections.c (gomp_sections_init): Initialize ws->mode. | |
231 | ||
289a9f86 UB |
232 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
233 | ||
234 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Remove set but | |
235 | not unused bar variable. | |
236 | * configure: Regenerate. | |
237 | ||
4d9e8446 RW |
238 | 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
239 | ||
240 | * Makefile.in: Regenerate. | |
241 | * aclocal.m4: Regenerate. | |
242 | * testsuite/Makefile.in: Regenerate. | |
243 | ||
80f046cc JJ |
244 | 2010-03-22 Jakub Jelinek <jakub@redhat.com> |
245 | ||
246 | PR libgomp/42942 | |
247 | * env.c (parse_unsigned_long): Add ALLOW_ZERO argument. | |
248 | (initialize_env): Adjust callers. | |
249 | (omp_set_max_active_levels): Set gomp_max_active_levels_var even | |
250 | when the argument is 0. | |
251 | ||
252 | * testsuite/libgomp.c/pr42942.c: New test. | |
253 | ||
b58543c3 SP |
254 | 2010-03-08 Tobias Grosser <grosser@fim.uni-passau.de> |
255 | ||
256 | PR middle-end/42644 | |
257 | PR middle-end/42130 | |
258 | * testsuite/libgomp.graphite/force-parallel-1.c: Adjust. | |
259 | * testsuite/libgomp.graphite/force-parallel-2.c: Adjust. | |
260 | ||
41d1138f RO |
261 | 2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
262 | ||
263 | * testsuite/libgomp.c++/task-1.C: Renamed err to e. | |
264 | * testsuite/libgomp.c++/task-6.C: Likewise. | |
265 | ||
6684eb28 SE |
266 | 2010-01-28 Steve Ellcey <sje@cup.hp.com> |
267 | ||
268 | * configure.tgt (*-*-hpux*): Add -frandom-seed flag. | |
269 | ||
2122aa97 PB |
270 | 2010-01-26 Paolo Bonzini <bonzini@gnu.org> |
271 | ||
272 | * configure.ac: Test for executability of _the first word_ of GFORTRAN. | |
273 | * configure: Regenerate. | |
274 | ||
057dd91d JJ |
275 | 2010-01-26 Jakub Jelinek <jakub@redhat.com> |
276 | ||
277 | PR fortran/42866 | |
278 | * testsuite/libgomp.fortran/allocatable5.f90: New test. | |
279 | ||
d0709b6a PB |
280 | 2010-01-20 Paolo Bonzini <bonzini@gnu.org> |
281 | ||
282 | * configure.ac: Test for executability of GFORTRAN. | |
283 | * configure: Regenerate. | |
284 | ||
b9497ab5 RO |
285 | 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
286 | ||
287 | * configure: Regenerate. | |
288 | ||
45de5648 L |
289 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> |
290 | ||
291 | PR libgomp/42602 | |
292 | * libgomp.fortran/recursion1.f90 (sub): Make 's' atomic. | |
293 | ||
e74003a1 RG |
294 | 2010-01-03 Richard Guenther <rguenther@suse.de> |
295 | ||
296 | * testsuite/libgomp.fortran/recursion1.f90: New testcase. | |
297 | ||
1b3abda8 SP |
298 | 2009-12-23 Sebastian Pop <sebpop@gmail.com> |
299 | ||
300 | * testsuite/libgomp.graphite/pr4118.c: New. | |
301 | ||
e19977d3 IS |
302 | 2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
303 | ||
304 | * testsuite/libgomp.fortran/crayptr2.f90: Remove forced static linkage | |
305 | for darwin, protect the test with require-effective-target tls_runtime. | |
306 | * testsuite/libgomp.fortran/pr32550.f90: Ditto. | |
307 | ||
1d32a772 IS |
308 | 2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
309 | ||
310 | PR target/41605 | |
311 | * testsuite/lib/libgomp.exp: Provide -B options to allow for | |
312 | link spec %s substitutions for static libraries. | |
313 | ||
deb109b2 JH |
314 | 2009-12-18 Jack Howarth <howarth@bromo.med.uc.edu> |
315 | ||
316 | PR testsuite/42135 | |
317 | * libgomp.graphite/force-parallel-2.c: Reduce array size. | |
318 | ||
43e02a8a RW |
319 | 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
320 | ||
321 | * Makefile.in: Regenerate. | |
322 | * configure: Regenerate. | |
323 | * testsuite/Makefile.in: Regenerate. | |
324 | ||
17f35e23 DK |
325 | 2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com> |
326 | ||
327 | * testsuite/lib/libgomp.exp (libgomp_init): Add host-dependent | |
328 | settings for LC_ALL and LANG. | |
329 | ||
281e33e1 JJ |
330 | 2009-11-25 Jakub Jelinek <jakub@redhat.com> |
331 | ||
332 | PR fortran/42162 | |
333 | * testsuite/libgomp.fortran/pr42162.f90: New test. | |
334 | ||
2b32c27d JJ |
335 | 2009-11-13 Jakub Jelinek <jakub@redhat.com> |
336 | ||
337 | PR middle-end/42029 | |
281e33e1 | 338 | * testsuite/libgomp.c/pr42029.c: New test. |
2b32c27d | 339 | |
89c74f4a JJ |
340 | 2009-10-26 Jakub Jelinek <jakub@redhat.com> |
341 | ||
342 | * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid using too many | |
343 | *s. Accept ld version without text in ()s. | |
344 | * configure: Regenerated. | |
345 | ||
7e06c3d6 EB |
346 | 2009-10-22 Razya Ladelsky <razya@il.ibm.com> |
347 | ||
348 | * testsuite/libgomp.graphite/force-parallel-2.c: Adjust scan. | |
349 | ||
0046b1a7 RW |
350 | 2009-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
351 | ||
352 | PR libgomp/41418 | |
353 | * configure.ac: Set FC to "no" if $GFORTRAN starts with "no" | |
354 | or a hyphen (happens with fortran language disabled). | |
355 | * configure: Regenerate. | |
356 | ||
c82852f7 RW |
357 | 2009-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
358 | ||
359 | * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid 'head', | |
360 | use sed script portable to Solaris /bin/sed for extracting ld | |
361 | version. | |
362 | * configure: Regenerate. | |
363 | ||
98f3eb1f AM |
364 | 2009-09-17 Alexander Monakov <amonakov@ispras.ru> |
365 | ||
366 | * testsuite/libgomp.graphite/bounds.c: New test. | |
367 | ||
878f62e5 RW |
368 | 2009-09-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
369 | ||
370 | * Makefile.am (libgomp_la_LINK): New. | |
371 | * Makefile.in: Regenerate. | |
372 | ||
df58e648 RW |
373 | 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
374 | ||
375 | * configure.ac (AC_PREREQ): Bump to 2.64. | |
376 | ||
5213506e RW |
377 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
378 | ||
70fa0efa RW |
379 | * Makefile.am (install-html, install-pdf): Remove. |
380 | * Makefile.in: Regenerate. | |
381 | ||
5213506e RW |
382 | * Makefile.in: Regenerate. |
383 | * aclocal.m4: Regenerate. | |
384 | * config.h.in: Regenerate. | |
385 | * configure: Regenerate. | |
386 | * testsuite/Makefile.in: Regenerate. | |
387 | ||
84fec8a5 RW |
388 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
389 | ||
390 | * Makefile.am (LINK): Add $(AM_LIBTOOLFLAGS) and $(LIBTOOLFLAGS). | |
391 | * Makefile.in: Regenerate. | |
392 | ||
197c68cc DK |
393 | 2009-08-20 Dave Korn <dave.korn.cygwin@gmail.com> |
394 | ||
395 | * Makefile.am (libgomp_la_LDFLAGS): Add -bindir flag. | |
396 | * Makefile.in: Regenerate. | |
397 | ||
693d54f2 TB |
398 | 2009-08-19 Tobias Burnus <burnus@net-b.de> |
399 | ||
400 | PR fortran/41102 | |
401 | omp_lib.h.in: Fix -std=f95 errors. | |
402 | ||
403 | ||
8cac884c DE |
404 | 2009-08-14 David Edelsohn <edelsohn@gnu.org> |
405 | ||
406 | * testsuite/libgomp.graphite: Move from gcc.dg/graphite. | |
407 | * testsuite/libgomp.graphite/graphite_autopar.exp: Delete. | |
408 | * testsuite/libgomp.graphite/graphite.exp: New. | |
409 | ||
78729ee2 AT |
410 | 2009-08-05 Andreas Tobler <a.tobler@schweiz.org> |
411 | ||
412 | * testsuite/libgomp.fortran/fortran.exp: Add flags in case of shared | |
413 | only build. | |
414 | ||
b13b7f39 DD |
415 | 2009-08-04 David Daney <ddaney@caviumnetworks.com> |
416 | ||
417 | * config/linux/mutex.h (gomp_mutex_unlock): Add comment about | |
418 | needed memory barrier semantics. | |
419 | * config/linux/mips/mutex.h: New file. | |
420 | ||
1b3b24c2 RW |
421 | 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
422 | ||
423 | * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force. | |
424 | ||
396b7fa4 JM |
425 | 2009-07-16 Joseph Myers <joseph@codesourcery.com> |
426 | ||
427 | * configure: Regenerate. | |
428 | ||
33cde516 RS |
429 | 2009-07-11 Richard Sandiford <rdsandiford@googlemail.com> |
430 | ||
431 | PR testsuite/40699 | |
432 | PR testsuite/40707 | |
433 | PR testsuite/40709 | |
434 | * testsuite/lib/libgomp.exp: Revert 2009-07-02 and 2009-06-30 commits. | |
435 | * testsuite/libgomp.c/c.exp, testsuite/libgomp.c++/c++.exp, | |
436 | testsuite/libgomp.fortran/fortran.exp: Revert 2009-06-30 commits. | |
437 | ||
bc21bfa5 RS |
438 | 2009-07-02 Richard Sandiford <r.sandiford@uk.ibm.com> |
439 | ||
440 | * testsuite/lib/libgomp.exp (libgomp_init): Use the ALWAYS_CFLAGS | |
441 | options when choosing a multilib. | |
442 | ||
b30bfd40 RS |
443 | 2009-06-30 Richard Sandiford <r.sandiford@uk.ibm.com> |
444 | ||
445 | * testsuite/lib/libgomp.exp (libgomp_init): Don't add "." to | |
446 | ld_library_path. Use add_path. Add just find_libgcc_s to | |
447 | ld_library_path, not every libgcc multilib directory. | |
448 | * testsuite/libgomp.c/c.exp (ld_library_path): Don't call | |
449 | gcc-set-multilib-library-path; rely on $always_ld_library_path instead. | |
450 | * testsuite/libgomp.c++/c++.exp (ld_library_path): Likewise. | |
451 | Use add_path. | |
452 | * testsuite/libgomp.fortran/fortran.exp (ld_library_path): Likewise. | |
453 | ||
479c15c2 NF |
454 | 2009-06-09 Nathan Froyd <froydnj@codesourcery.com> |
455 | ||
456 | * Makefile.am (LTLDFLAGS): Define. | |
457 | (LINK): Define. | |
458 | * Makefile.in: Regenerate. | |
459 | ||
667e6f89 JB |
460 | 2009-05-27 Janne Blomqvist <jb@gcc.gnu.org> |
461 | ||
462 | PR fortran/39718 | |
463 | * testsuite/libgomp.fortran/fortran.exp: Don't link with | |
464 | libgfortranbegin, check existence of libgfortran.a instead of | |
465 | libgfortranbegin.a. | |
466 | ||
6dea8e99 JJ |
467 | 2009-05-20 Jakub Jelinek <jakub@redhat.com> |
468 | ||
469 | PR libgomp/40174 | |
470 | * team.c (gomp_thread_start): Destroy thr->release semaphore. | |
471 | (gomp_free_pool_helper): Likewise. | |
472 | ||
34d01e1d VL |
473 | 2009-04-20 Vasilis Liaskovitis <vliaskov@gmail.com> |
474 | Jakub Jelinek <jakub@redhat.com> | |
475 | ||
476 | PR fortran/35423 | |
477 | * testsuite/libgomp.fortran/workshare2.f90: New test. | |
478 | ||
748086b7 JJ |
479 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
480 | ||
481 | * iter.c: Change copyright header to refer to version 3 of the | |
482 | GNU General Public License with version 3.1 of the GCC Runtime | |
483 | Library Exception and to point readers at the COPYING3 and | |
484 | COPYING3.RUNTIME files and the FSF's license web page. | |
485 | * alloc.c: Likewise. | |
486 | * barrier.c: Likewise. | |
487 | * config/bsd/proc.c: Likewise. | |
488 | * config/linux/affinity.c: Likewise. | |
489 | * config/linux/alpha/futex.h: Likewise. | |
490 | * config/linux/bar.c: Likewise. | |
491 | * config/linux/bar.h: Likewise. | |
492 | * config/linux/ia64/futex.h: Likewise. | |
493 | * config/linux/ia64/mutex.h: Likewise. | |
494 | * config/linux/lock.c: Likewise. | |
495 | * config/linux/mips/futex.h: Likewise. | |
496 | * config/linux/mutex.c: Likewise. | |
497 | * config/linux/mutex.h: Likewise. | |
498 | * config/linux/powerpc/futex.h: Likewise. | |
499 | * config/linux/proc.c: Likewise. | |
500 | * config/linux/ptrlock.c: Likewise. | |
501 | * config/linux/ptrlock.h: Likewise. | |
502 | * config/linux/s390/futex.h: Likewise. | |
503 | * config/linux/sem.c: Likewise. | |
504 | * config/linux/sem.h: Likewise. | |
505 | * config/linux/sparc/futex.h: Likewise. | |
506 | * config/linux/wait.h: Likewise. | |
507 | * config/linux/x86/futex.h: Likewise. | |
508 | * config/mingw32/proc.c: Likewise. | |
509 | * config/mingw32/time.c: Likewise. | |
510 | * config/posix/affinity.c: Likewise. | |
511 | * config/posix/bar.c: Likewise. | |
512 | * config/posix/bar.h: Likewise. | |
513 | * config/posix/lock.c: Likewise. | |
514 | * config/posix/mutex.h: Likewise. | |
515 | * config/posix/proc.c: Likewise. | |
516 | * config/posix/ptrlock.h: Likewise. | |
517 | * config/posix/sem.c: Likewise. | |
518 | * config/posix/sem.h: Likewise. | |
519 | * config/posix/time.c: Likewise. | |
520 | * config/posix95/lock.c: Likewise. | |
521 | * critical.c: Likewise. | |
522 | * env.c: Likewise. | |
523 | * error.c: Likewise. | |
524 | * fortran.c: Likewise. | |
525 | * iter_ull.c: Likewise. | |
526 | * libgomp.h: Likewise. | |
527 | * libgomp_f.h.in: Likewise. | |
528 | * libgomp_g.h: Likewise. | |
529 | * loop.c: Likewise. | |
530 | * loop_ull.c: Likewise. | |
531 | * omp.h.in: Likewise. | |
532 | * omp_lib.f90.in: Likewise. | |
533 | * omp_lib.h.in: Likewise. | |
534 | * ordered.c: Likewise. | |
535 | * parallel.c: Likewise. | |
536 | * sections.c: Likewise. | |
537 | * single.c: Likewise. | |
538 | * task.c: Likewise. | |
539 | * team.c: Likewise. | |
540 | * work.c: Likewise. | |
541 | ||
542 | 2009-04-09 Jakub Jelinek <jakub@redhat.com> | |
543 | ||
544 | * testsuite/config/default.exp: Change copyright header to refer to | |
545 | version 3 of the GNU General Public License and to point readers | |
546 | at the COPYING3 file and the FSF's license web page. | |
547 | ||
4f0ae266 JJ |
548 | 2009-04-08 Jakub Jelinek <jakub@redhat.com> |
549 | ||
550 | PR middle-end/39573 | |
551 | * libgomp.c++/pr39573.C: New test. | |
552 | ||
03742a9b JJ |
553 | 2009-04-01 Jakub Jelinek <jakub@redhat.com> |
554 | ||
555 | PR other/39591 | |
556 | * testsuite/libgomp.c/pr39591-1.c: New test. | |
557 | * testsuite/libgomp.c/pr39591-2.c: New test. | |
558 | * testsuite/libgomp.c/pr39591-3.c: New test. | |
559 | ||
e50ea10b UB |
560 | 2009-03-25 Uros Bizjak <ubizjak@gmail.com> |
561 | ||
562 | * testsuite/libgomp.c/atomic-5.c: Cleanup cpuid usage. | |
563 | * testsuite/libgomp.c/atomic-6.c: Ditto. | |
564 | ||
c5cdb03f JJ |
565 | 2009-03-23 Jakub Jelinek <jakub@redhat.com> |
566 | ||
567 | PR c/39495 | |
568 | * testsuite/libgomp.c/loop-12.c: New test. | |
569 | * testsuite/libgomp.c/loop-11.c: New test. | |
570 | * testsuite/libgomp.c++/loop-11.C: New test. | |
571 | * testsuite/libgomp.c++/loop-12.C: New test. | |
572 | * testsuite/libgomp.c++/for-8.C: New test. | |
573 | ||
7a9d3fe8 RW |
574 | 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
575 | ||
576 | * configure: Regenerate. | |
577 | ||
3ad6b266 JJ |
578 | 2009-02-11 Jakub Jelinek <jakub@redhat.com> |
579 | ||
580 | PR middle-end/39154 | |
581 | * testsuite/libgomp.c/pr39154.c: New test. | |
582 | ||
b39dea08 ILT |
583 | 2009-01-30 Ian Lance Taylor <iant@google.com> |
584 | ||
585 | * acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set | |
586 | libgomp_ld_is_gold. Get gold version number. | |
587 | (LIBGOMP_ENABLE_SYMVERS): Gold always support symbol versioning. | |
588 | * configure: Rebuild. | |
589 | ||
72c66596 IS |
590 | 2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
591 | ||
e50ea10b | 592 | * testsuite/lib/libgomp.exp: Add -B option for targets that |
72c66596 IS |
593 | use libgfortran.a%s in their specs. |
594 | ||
876080ff JJ |
595 | 2009-01-07 Jakub Jelinek <jakub@redhat.com> |
596 | ||
597 | PR libgomp/38086 | |
598 | * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New check. | |
599 | * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undefine if | |
600 | HAVE_AS_SYMVER_DIRECTIVE is not defined. | |
601 | * configure: Regenerated. | |
602 | * config.h.in: Likewise. | |
603 | ||
e4ebaef3 JJ |
604 | 2008-12-28 Jakub Jelinek <jakub@redhat.com> |
605 | ||
606 | PR c++/38650 | |
607 | * testsuite/libgomp.c/pr38650.c: New test. | |
608 | * testsuite/libgomp.c++/pr38650.C: New test. | |
609 | ||
382017a6 JJ |
610 | 2008-12-27 Jakub Jelinek <jakub@redhat.com> |
611 | ||
612 | * testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause. | |
613 | ||
79644b27 UB |
614 | 2008-12-26 Uros Bizjak <ubizjak@gmail.com> |
615 | ||
616 | * testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets. | |
617 | ||
baafc534 RW |
618 | 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
619 | ||
620 | * configure: Regenerate. | |
621 | ||
d9c194cb JJ |
622 | 2008-12-08 Jakub Jelinek <jakub@redhat.com> |
623 | ||
624 | PR middle-end/36802 | |
625 | * testsuite/libgomp.c/pr36802-1.c: New test. | |
626 | * testsuite/libgomp.c/pr36802-2.c: New test. | |
627 | * testsuite/libgomp.c/pr36802-3.c: New test. | |
628 | ||
86a182bf JJ |
629 | 2008-12-01 Janis Johnson <janis187@us.ibm.com> |
630 | ||
631 | PR libgomp/38270 | |
632 | * config/linux/powerpc/mutex.h: New. | |
633 | ||
956adfaf JJ |
634 | 2008-12-01 Jakub Jelinek <jakub@redhat.com> |
635 | ||
a2d4cdc9 JJ |
636 | PR c++/38257 |
637 | * testsuite/libgomp.c++/for-7.C: New test. | |
638 | ||
956adfaf JJ |
639 | PR c++/38348 |
640 | * testsuite/libgomp.c++/for-6.C: New test. | |
641 | ||
d4038ca2 JJ |
642 | 2008-11-26 Janis Johnson <janis187@us.ibm.com> |
643 | ||
644 | PR testsuite/28870 | |
645 | * testsuite/lib/libgomp.exp: Include new timeout library files. | |
646 | (libgomp_target_compile): Set timeout value from new proc. | |
647 | ||
8b159eea SE |
648 | 2008-11-13 Steve Ellcey <sje@cup.hp.com> |
649 | ||
650 | PR libgomp/37938 | |
651 | * config/linux/ia64/mutex.h: New. | |
652 | ||
5c6ed53a TB |
653 | 2008-11-04 Tobias Burnus <burnus@net-b.de> |
654 | ||
655 | PR libgomp/37935 | |
656 | * libgomp.texi (Runtime library routines, environment variables): | |
657 | Update for OpenMP version 3.0. | |
658 | ||
6b4a97ed PG |
659 | 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com> |
660 | Steve Ellcey <sje@cup.hp.com> | |
661 | ||
662 | * configure: Regenerate for new libtool. | |
663 | * Makefile.in: Ditto. | |
664 | * testsuite/Makefile.in: Ditto. | |
665 | ||
e2b34106 JJ |
666 | 2008-09-19 Jakub Jelinek <jakub@redhat.com> |
667 | Andreas Tobler <a.tobler@schweiz.org> | |
668 | ||
669 | * config/bsd/proc.c: New file. | |
8c3b3600 | 670 | * configure.tgt (*-*-darwin*): Use config_path "bsd posix". |
e2b34106 JJ |
671 | * configure.ac: Check for header <sys/sysctl.h> |
672 | * configure: Regenerate. | |
673 | * config.h.in: Likewise. | |
674 | ||
3606b8bf JJ |
675 | 2008-09-05 Janis Johnson <janis187@us.ibm.com> |
676 | ||
677 | * testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists. | |
678 | ||
6528b88d AL |
679 | 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
680 | ||
681 | * Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined. | |
682 | * Makefile.in: Regenerated. | |
683 | * testsuite/Makefile.in: Regenerated. | |
684 | ||
d9b14b12 | 685 | 2008-08-21 Nathan Froyd <froydnj@codesourcery.com> |
8c9570df | 686 | |
a16b68bb | 687 | * testsuite/lib/libgomp.exp (libgomp_init): Only set things that |
8c9570df NF |
688 | depend on blddir if blddir exists. |
689 | (libgomp_target_compile): Likewise. | |
690 | * testsuite/libgomp.c++/c++.exp: Likewise. | |
691 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
692 | ||
70b1e376 RW |
693 | 2008-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
694 | ||
695 | * libgomp.texi: Update to GFDL 1.2. Update copyright years. | |
696 | Do not list GPL as Invariant Section. | |
697 | ||
318e8c3f IG |
698 | 2008-07-28 Ilie Garbacea <ilie@mips.com> |
699 | Chao-ying Fu <fu@mips.com> | |
700 | ||
701 | * configure.tgt: Enable futex for MIPS. | |
702 | * config/linux/mips/futex.h: New file. | |
703 | ||
4db72361 JJ |
704 | 2008-07-16 Jakub Jelinek <jakub@redhat.com> |
705 | ||
706 | * team.c (gomp_team_end): Free team immediately if it has | |
707 | just one thread. | |
708 | ||
87bd23b8 DE |
709 | 2008-07-08 David Edelsohn <edelsohn@gnu.org> |
710 | ||
711 | * testsuite/libgomp.c++/c++.exp: Append multilib library path. | |
712 | * testsuite/libgomp.fortran/fortran.exp: Same. | |
713 | * testsuite/libgomp.c/c.exp: Same. | |
714 | * testsuite/lib/libgomp.exp: Append AIX libgcc pthread multilib | |
715 | directory to library path first. | |
716 | ||
323ff903 KW |
717 | 2008-06-29 Krister Walfridsson <krister.walfridsson@gmail.com> |
718 | ||
719 | * env.c (parse_stacksize): Add cast to avoid warning. | |
720 | (parse_spincount): Likewise. | |
721 | ||
b357f682 JJ |
722 | 2008-06-27 Jakub Jelinek <jakub@redhat.com> |
723 | ||
ca2b1311 JJ |
724 | * testsuite/libgomp.c/loop-10.c: New test. |
725 | * libgomp.c/loop-3.c (main): Add lastprivate clause. | |
726 | * libgomp.c++/loop-6.C (main): Likewise. | |
727 | ||
b357f682 JJ |
728 | PR debug/36617 |
729 | * testsuite/libgomp.c/debug-1.c: New test. | |
730 | ||
09a46078 JJ |
731 | 2008-06-19 Jakub Jelinek <jakub@redhat.com> |
732 | ||
733 | * testsuite/libgomp.c/nqueens-1.c: New test. | |
734 | ||
2368a460 JJ |
735 | PR c++/36523 |
736 | * testsuite/libgomp.c++/task-7.C: New function. | |
737 | ||
18c04407 RW |
738 | 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
739 | ||
740 | * configure: Regenerate. | |
741 | ||
9c4e59e0 JDA |
742 | 2008-06-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
743 | ||
744 | * env.c (initialize_env): Always initialize gomp_remaining_threads_lock | |
745 | mutex when HAVE_SYNC_BUILTINS isn't defined. | |
746 | ||
6ccde948 RW |
747 | 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
748 | ||
749 | * libgomp.texi (omp_test_lock): Fix typo. | |
750 | ||
b896f9fd TB |
751 | 2008-06-12 Tobias Burnus <burnus@net-b.de> |
752 | ||
753 | * omp_lib.f90.in: Add "implicit none". | |
754 | ||
c34938a8 JJ |
755 | 2008-06-12 Jakub Jelinek <jakub@redhat.com> |
756 | ||
757 | PR middle-end/36506 | |
758 | * testsuite/libgomp.c/reduction-5.c: New test. | |
759 | ||
976e44e3 JJ |
760 | 2008-06-11 Jakub Jelinek <jakub@redhat.com> |
761 | ||
5f836cbb JJ |
762 | * libgomp.h (struct gomp_task): Add in_tied_task field. |
763 | * task.c (gomp_init_task): Initialize it. | |
764 | (GOMP_task): Likewise. Call gomp_team_barrier_set_task_pending | |
765 | unconditionally. Don't call gomp_team_barrier_wake if | |
766 | current task is implicit or if(0) from implicit and number of | |
767 | running tasks is equal to nthreads - 1. | |
768 | ||
01501fc8 JJ |
769 | PR libgomp/36471 |
770 | * omp_lib.f90.in (omp_get_ancestor_thread_num_8, | |
771 | omp_get_team_size_8): Fix pastos. | |
772 | ||
976e44e3 JJ |
773 | PR libgomp/36469 |
774 | * configure.ac: Add AC_CHECK_FUNCS (strtoull). | |
775 | * configure: Regenerated. | |
776 | * config.h.in: Regenerated. | |
777 | * env.c (strtoull): Define to strtoul if HAVE_STRTOULL is not | |
778 | defined. | |
779 | ||
e919209b AT |
780 | 2008-06-06 Andreas Tobler <a.tobler@schweiz.org> |
781 | ||
782 | PR bootstrap/36452 | |
783 | * loop_ull.c (GOMP_loop_ull_static_start): Adjust API. | |
784 | (GOMP_loop_ull_dynamic_start): Likewise. | |
785 | (GOMP_loop_ull_guided_start): Likewise. | |
786 | (GOMP_loop_ull_ordered_static_start): Likewise. | |
787 | (GOMP_loop_ull_ordered_dynamic_start): Likewise. | |
788 | (GOMP_loop_ull_ordered_guided_start): Likewise. | |
789 | ||
a68ab351 JJ |
790 | 2008-06-06 Jakub Jelinek <jakub@redhat.com> |
791 | Richard Henderson <rth@redhat.com> | |
792 | Ulrich Drepper <drepper@redhat.com> | |
793 | Jakob Blomer <jakob.blomer@ira.uka.de> | |
794 | ||
795 | * configure.ac (LIBGOMP_GNU_SYMBOL_VERSIONING): New AC_DEFINE. | |
796 | Substitute also OMP_*LOCK_25*. | |
797 | * configure: Regenerated. | |
798 | * config.h.in: Regenerated. | |
799 | * Makefile.am (libgomp_la_SOURCES): Add loop_ull.c, iter_ull.c, | |
800 | ptrlock.c and task.c. | |
801 | * Makefile.in: Regenerated. | |
802 | * testsuite/Makefile.in: Regenerated. | |
803 | * task.c: New file. | |
804 | * loop_ull.c: New file. | |
805 | * iter_ull.c: New file. | |
806 | * libgomp.h: Include ptrlock.h. | |
807 | (enum gomp_task_kind): New type. | |
808 | (struct gomp_team): Add task_lock, task_queue, task_count, | |
809 | task_running_count, single_count fields. Add | |
810 | work_share_list_free_lock ifndef HAVE_SYNC_BUILTINS. | |
811 | Remove work_share_lock, generation_mask, | |
812 | oldest_live_gen, num_live_gen and init_work_shares fields, add | |
813 | work work_share_list_alloc, work_share_list_free and work_share_chunk | |
814 | fields. Change work_shares from pointer to pointers into an array. | |
815 | Change ordered_release field into gomp_sem_t ** from flexible array | |
816 | member. Add implicit_task and initial_work_shares fields. | |
817 | Move close to the end of the struct. | |
818 | (struct gomp_team_state): Add single_count, last_work_share, | |
819 | active_level and level fields, remove work_share_generation. | |
820 | (gomp_barrier_handle_tasks): New prototype. | |
821 | (gomp_finish_task): New inline function. | |
822 | (struct gomp_work_share): Move chunk_size, end, incr into | |
823 | transparent union/struct, add chunk_size_ull, end_ll, incr_ll and | |
824 | next_ll fields. Reshuffle fields. Add next_alloc, | |
825 | next_ws, next_free and inline_ordered_team_ids fields, change | |
826 | ordered_team_ids into pointer from flexible array member. | |
827 | Add mode field. Put lock and next into a different cache line | |
828 | from most of the write-once fields. | |
829 | (gomp_iter_ull_static_next, gomp_iter_ull_dynamic_next_locked, | |
830 | gomp_iter_ull_guided_next_locked, gomp_iter_ull_dynamic_next, | |
831 | gomp_iter_ull_guided_next): New prototypes. | |
832 | (gomp_new_icv): New prototype. | |
833 | (struct gomp_thread): Add thread_pool and task fields. | |
834 | (struct gomp_thread_pool): New type. | |
835 | (gomp_new_team): New prototype. | |
836 | (gomp_team_start): Change type of last argument. | |
837 | (gomp_new_work_share): Removed. | |
838 | (gomp_init_work_share, gomp_fini_work_share): New prototypes. | |
839 | (gomp_work_share_init_done): New static inline. | |
840 | (gomp_throttled_spin_count_var, gomp_available_cpus, | |
841 | gomp_managed_threads): New extern decls. | |
842 | (gomp_init_task): New prototype. | |
843 | (gomp_spin_count_var): New extern var decl. | |
844 | (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef if no visibility | |
845 | or no alias support, or if not PIC. | |
846 | (gomp_init_lock_30, gomp_destroy_lock_30, gomp_set_lock_30, | |
847 | gomp_unset_lock_30, gomp_test_lock_30, gomp_init_nest_lock_30, | |
848 | gomp_destroy_nest_lock_30, gomp_set_nest_lock_30, | |
849 | gomp_unset_nest_lock_30, gomp_test_nest_lock_30, gomp_init_lock_25, | |
850 | gomp_destroy_lock_25, gomp_set_lock_25, gomp_unset_lock_25, | |
851 | gomp_test_lock_25, gomp_init_nest_lock_25, gomp_destroy_nest_lock_25, | |
852 | gomp_set_nest_lock_25, gomp_unset_nest_lock_25, | |
853 | gomp_test_nest_lock_25): New prototypes. | |
854 | (omp_lock_symver, strong_alias): Define. | |
855 | (gomp_remaining_threads_count, gomp_remaining_threads_lock): New | |
856 | decls. | |
857 | (gomp_end_task): New. | |
858 | (struct gomp_task_icv, gomp_global_icv): New. | |
859 | (gomp_thread_limit_var, gomp_max_active_levels_var): New. | |
860 | (struct gomp_task): New. | |
861 | (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var, | |
862 | gomp_run_sched_var, gomp_run_sched_chunk): Remove. | |
863 | (gomp_icv): New. | |
864 | (gomp_schedule_type): Reorder enum to match | |
865 | omp_sched_t. | |
866 | * team.c (struct gomp_thread_start_data): Add thread_pool and task | |
867 | fields. | |
868 | (gomp_thread_start): Add gomp_team_barrier_wait call. | |
869 | For non-nested case remove clearing of docked thread thr fields. | |
870 | Use pool fields instead of global gomp_* variables. Use | |
871 | gomp_barrier_wait_last when needed. Initialize ts.active_level. | |
872 | Create tasks for each member thread. | |
873 | (free_team): Only destroy team barrier, task_lock here and free it. | |
874 | (gomp_free_thread): Free last_team if non-NULL. | |
875 | (gomp_team_end): Call gomp_team_barrier_wait instead of | |
876 | gomp_barrier_wait. For nested case call one extra | |
877 | gomp_barrier_wait. Move here some destruction from free_team. | |
878 | Call free_team on pool->last_team if any, rather than freeing | |
879 | current team. Destroy work_share_list_free_lock ifndef | |
880 | HAVE_SYNC_BUILTINS. | |
881 | (gomp_new_icv): New function. | |
882 | (gomp_threads, gomp_threads_size, gomp_threads_used, | |
883 | gomp_threads_dock): Removed. | |
884 | (gomp_thread_destructor): New variable. | |
885 | (gomp_new_thread_pool, gomp_free_pool_helper, gomp_free_thread): New | |
886 | functions. | |
887 | (gomp_team_start): Create new pool if current thread doesn't have | |
888 | one. Use pool fields instead of global gomp_* variables. | |
889 | Initialize thread_pool field for new threads. Clear single_count. | |
890 | Change last argument from ws to team, don't create | |
891 | new team, set ts.work_share to &team->work_shares[0] and clear | |
892 | ts.last_work_share. Don't clear ts.work_share_generation. | |
893 | If number of threads changed, adjust atomically gomp_managed_threads. | |
894 | Use gomp_init_task instead of gomp_new_task, | |
895 | set thr->task to the corresponding implicit_task array entry. | |
896 | Create tasks for each member thread. Initialize ts.level. | |
897 | (initialize_team): Call pthread_key_create on | |
898 | gomp_thread_destructor. | |
899 | (team_destructor): New function. | |
900 | (new_team): Removed. | |
901 | (gomp_new_team): New function. | |
902 | (free_team): Free gomp_work_share blocks chained through next_alloc, | |
903 | instead of freeing work_shares and destroying work_share_lock. | |
904 | (gomp_team_end): Call gomp_fini_work_share. If number of threads | |
905 | changed, adjust atomically gomp_managed_threads. Use gomp_end_task. | |
906 | * barrier.c (GOMP_barrier): Call gomp_team_barrier_wait instead | |
907 | of gomp_barrier_wait. | |
908 | * single.c (GOMP_single_copy_start): Call gomp_team_barrier_wait | |
909 | instead of gomp_barrier_wait. Call gomp_work_share_init_done | |
910 | if gomp_work_share_start returned true. Don't unlock ws->lock. | |
911 | (GOMP_single_copy_end): Call gomp_team_barrier_wait instead | |
912 | of gomp_barrier_wait. | |
913 | (GOMP_single_start): Rewritten if HAVE_SYNC_BUILTINS. Call | |
914 | gomp_work_share_init_done if gomp_work_share_start returned true. | |
915 | Don't unlock ws->lock. | |
916 | * work.c: Include stddef.h. | |
917 | (free_work_share): Use work_share_list_free_lock instead | |
918 | of atomic chaining ifndef HAVE_SYNC_BUILTINS. Add team argument. | |
919 | Call gomp_fini_work_share and then either free ws if orphaned, or | |
920 | put it into work_share_list_free list of the current team. | |
921 | (alloc_work_share, gomp_init_work_share, gomp_fini_work_share): New | |
922 | functions. | |
923 | (gomp_work_share_start, gomp_work_share_end, | |
924 | gomp_work_share_end_nowait): Rewritten. | |
925 | * omp_lib.f90.in Change some tabs to spaces to prevent warnings. | |
926 | (openmp_version): Set to 200805. | |
927 | (omp_sched_kind, omp_sched_static, omp_sched_dynamic, | |
928 | omp_sched_guided, omp_sched_auto): New parameters. | |
929 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
930 | omp_set_max_active_levels, omp_get_max_active_levels, | |
931 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
932 | omp_get_active_level): New interfaces. | |
933 | * omp_lib.h.in (openmp_version): Set to 200805. | |
934 | (omp_sched_kind, omp_sched_static, omp_sched_dynamic, | |
935 | omp_sched_guided, omp_sched_auto): New parameters. | |
936 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
937 | omp_set_max_active_levels, omp_get_max_active_levels, | |
938 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
939 | omp_get_active_level): New externals. | |
940 | * loop.c: Include limits.h. | |
941 | (GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Handle | |
942 | GFS_AUTO. | |
943 | (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start): | |
944 | Likewise. Use gomp_icv. | |
945 | (gomp_loop_static_start, gomp_loop_dynamic_start): Clear | |
946 | ts.static_trip here. | |
947 | (gomp_loop_static_start, gomp_loop_ordered_static_start): Call | |
948 | gomp_work_share_init_done after gomp_loop_init. Don't unlock ws->lock. | |
949 | (gomp_loop_dynamic_start, gomp_loop_guided_start): Call | |
950 | gomp_work_share_init_done after gomp_loop_init. If HAVE_SYNC_BUILTINS, | |
951 | don't unlock ws->lock, otherwise lock it. | |
952 | (gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start): Call | |
953 | gomp_work_share_init_done after gomp_loop_init. Lock ws->lock. | |
954 | (gomp_parallel_loop_start): Call gomp_new_team instead of | |
955 | gomp_new_work_share. Call gomp_loop_init on &team->work_shares[0]. | |
956 | Adjust gomp_team_start caller. Pass 0 as second argument to | |
957 | gomp_resolve_num_threads. | |
958 | (gomp_loop_init): For GFS_DYNAMIC, multiply ws->chunk_size by incr. | |
959 | If adding ws->chunk_size nthreads + 1 times after end won't | |
960 | overflow, set ws->mode to 1. | |
961 | * libgomp_g.h (GOMP_loop_ull_static_start, GOMP_loop_ull_dynamic_start, | |
962 | GOMP_loop_ull_guided_start, GOMP_loop_ull_runtime_start, | |
963 | GOMP_loop_ull_ordered_static_start, | |
964 | GOMP_loop_ull_ordered_dynamic_start, | |
965 | GOMP_loop_ull_ordered_guided_start, | |
966 | GOMP_loop_ull_ordered_runtime_start, GOMP_loop_ull_static_next, | |
967 | GOMP_loop_ull_dynamic_next, GOMP_loop_ull_guided_next, | |
968 | GOMP_loop_ull_runtime_next, GOMP_loop_ull_ordered_static_next, | |
969 | GOMP_loop_ull_ordered_dynamic_next, GOMP_loop_ull_ordered_guided_next, | |
970 | GOMP_loop_ull_ordered_runtime_next, GOMP_task, GOMP_taskwait): New | |
971 | prototypes. | |
972 | * libgomp.map: Export lock routines also @@OMP_2.0. | |
973 | (GOMP_loop_ordered_dynamic_first, | |
974 | GOMP_loop_ordered_guided_first, GOMP_loop_ordered_runtime_first, | |
975 | GOMP_loop_ordered_static_first): Remove. | |
976 | (GOMP_loop_ull_dynamic_next, GOMP_loop_ull_dynamic_start, | |
977 | GOMP_loop_ull_guided_next, GOMP_loop_ull_guided_start, | |
978 | GOMP_loop_ull_ordered_dynamic_next, | |
979 | GOMP_loop_ull_ordered_dynamic_start, | |
980 | GOMP_loop_ull_ordered_guided_next, | |
981 | GOMP_loop_ull_ordered_guided_start, | |
982 | GOMP_loop_ull_ordered_runtime_next, | |
983 | GOMP_loop_ull_ordered_runtime_start, | |
984 | GOMP_loop_ull_ordered_static_next, | |
985 | GOMP_loop_ull_ordered_static_start, | |
986 | GOMP_loop_ull_runtime_next, GOMP_loop_ull_runtime_start, | |
987 | GOMP_loop_ull_static_next, GOMP_loop_ull_static_start, | |
988 | GOMP_task, GOMP_taskwait): Export @@GOMP_2.0. | |
989 | (omp_set_schedule, omp_get_schedule, | |
990 | omp_get_thread_limit, omp_set_max_active_levels, | |
991 | omp_get_max_active_levels, omp_get_level, | |
992 | omp_get_ancestor_thread_num, omp_get_team_size, omp_get_active_level, | |
993 | omp_set_schedule_, omp_set_schedule_8_, | |
994 | omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_, | |
995 | omp_set_max_active_levels_, omp_set_max_active_levels_8_, | |
996 | omp_get_max_active_levels_, omp_get_level_, | |
997 | omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_, | |
998 | omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_): | |
999 | New exports @@OMP_3.0. | |
1000 | * omp.h.in (omp_sched_t): New type. | |
1001 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
1002 | omp_set_max_active_levels, omp_get_max_active_levels, | |
1003 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
1004 | omp_get_active_level): New prototypes. | |
1005 | * env.c (gomp_spin_count_var, gomp_throttled_spin_count_var, | |
1006 | gomp_available_cpus, gomp_managed_threads, gomp_max_active_levels_var, | |
1007 | gomp_thread_limit_var, gomp_remaining_threads_count, | |
1008 | gomp_remaining_threads_lock): New variables. | |
1009 | (parse_spincount): New function. | |
1010 | (initialize_env): Call gomp_init_num_threads unconditionally. | |
1011 | Initialize gomp_available_cpus. Call parse_spincount, | |
1012 | initialize gomp_{,throttled_}spin_count_var | |
1013 | depending on presence and value of OMP_WAIT_POLICY and | |
1014 | GOMP_SPINCOUNT env vars. Handle GOMP_BLOCKTIME env var. | |
1015 | Handle OMP_WAIT_POLICY, OMP_MAX_ACTIVE_LEVELS, | |
1016 | OMP_THREAD_LIMIT, OMP_STACKSIZE env vars. Handle unit specification | |
1017 | for GOMP_STACKSIZE. Initialize gomp_remaining_threads_count and | |
1018 | gomp_remaining_threads_lock if needed. Use gomp_global_icv. | |
1019 | (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var, | |
1020 | gomp_run_sched_var, gomp_run_sched_chunk): Remove. | |
1021 | (gomp_global_icv): New. | |
1022 | (parse_schedule): Use it. Parse "auto". | |
1023 | (omp_set_num_threads): Use gomp_icv. | |
1024 | (omp_set_dynamic, omp_get_dynamic, omp_set_nested, omp_get_nested): | |
1025 | Likewise. | |
1026 | (omp_get_max_threads): Move from parallel.c. | |
1027 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
1028 | omp_set_max_active_levels, omp_get_max_active_levels): New functions, | |
1029 | add ialias. | |
1030 | (parse_stacksize, parse_wait_policy): New functions. | |
1031 | * fortran.c: Rewrite lock wrappers, if symbol versioning provide | |
1032 | both wrappers for compatibility and new locks. | |
1033 | (omp_set_schedule, omp_get_schedule, | |
1034 | omp_get_thread_limit, omp_set_max_active_levels, | |
1035 | omp_get_max_active_levels, omp_get_level, | |
1036 | omp_get_ancestor_thread_num, omp_get_team_size, | |
1037 | omp_get_active_level): New ialias_redirect. | |
1038 | (omp_set_schedule_, omp_set_schedule_8_, | |
1039 | omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_, | |
1040 | omp_set_max_active_levels_, omp_set_max_active_levels_8_, | |
1041 | omp_get_max_active_levels_, omp_get_level_, | |
1042 | omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_, | |
1043 | omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_): | |
1044 | New functions. | |
1045 | * parallel.c: Include limits.h. | |
1046 | (gomp_resolve_num_threads): Add count argument. Rewritten. | |
1047 | (GOMP_parallel_start): Call gomp_new_team and pass that as last | |
1048 | argument to gomp_team_start. Pass 0 as second argument to | |
1049 | gomp_resolve_num_threads. | |
1050 | (GOMP_parallel_end): Decrease gomp_remaining_threads_count | |
1051 | if gomp_thread_limit_var != ULONG_MAX. | |
1052 | (omp_in_parallel): Implement using ts.active_level. | |
1053 | (omp_get_max_threads): Move to env.c. | |
1054 | (omp_get_level, omp_get_ancestor_thread_num, | |
1055 | omp_get_team_size, omp_get_active_level): New functions, | |
1056 | add ialias. | |
1057 | * sections.c (GOMP_sections_start): Call gomp_work_share_init_done | |
1058 | after gomp_sections_init. If HAVE_SYNC_BUILTINS, call | |
1059 | gomp_iter_dynamic_next instead of the _locked variant and don't take | |
1060 | lock around it, otherwise acquire it before calling | |
1061 | gomp_iter_dynamic_next_locked. | |
1062 | (GOMP_sections_next): If HAVE_SYNC_BUILTINS, call | |
1063 | gomp_iter_dynamic_next instead of the _locked variant and don't take | |
1064 | lock around it. | |
1065 | (GOMP_parallel_sections_start): Call gomp_new_team instead of | |
1066 | gomp_new_work_share. Call gomp_sections_init on &team->work_shares[0]. | |
1067 | Adjust gomp_team_start caller. Pass count as second argument to | |
1068 | gomp_resolve_num_threads, don't adjust num_threads after the call. | |
1069 | Use gomp_icv. | |
1070 | * iter.c (gomp_iter_dynamic_next_locked): Don't multiply | |
1071 | ws->chunk_size by incr. | |
1072 | (gomp_iter_dynamic_next): Likewise. If ws->mode, use more efficient | |
1073 | code. | |
1074 | * libgomp_f.h.in (omp_lock_25_arg_t, omp_nest_lock_25_arg_t): New | |
1075 | types. | |
1076 | (omp_lock_25_arg, omp_nest_lock_25_arg): New macros. | |
1077 | (omp_check_defines): Check even the compat defines. | |
1078 | * config/linux/ptrlock.c: New file. | |
1079 | * config/linux/ptrlock.h: New file. | |
1080 | * config/linux/wait.h: New file. | |
1081 | * config/posix/ptrlock.c: New file. | |
1082 | * config/posix/ptrlock.h: New file. | |
1083 | * config/linux/bar.h (gomp_team_barrier_wait, | |
1084 | gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes. | |
1085 | (gomp_team_barrier_set_task_pending, | |
1086 | gomp_team_barrier_clear_task_pending, | |
1087 | gomp_team_barrier_set_waiting_for_tasks, | |
1088 | gomp_team_barrier_waiting_for_tasks, | |
1089 | gomp_team_barrier_done): New inlines. | |
1090 | (gomp_barrier_t): Rewritten. | |
1091 | (gomp_barrier_state_t): New typedef. | |
1092 | (gomp_barrier_init, gomp_barrier_reinit, gomp_barrier_destroy, | |
1093 | gomp_barrier_wait_start): Rewritten. | |
1094 | (gomp_barrier_wait_end): Change second argument to | |
1095 | gomp_barrier_state_t. | |
1096 | (gomp_barrier_last_thread, gomp_barrier_wait_last): New static | |
1097 | inlines. | |
1098 | * config/linux/bar.c: Include wait.h instead of libgomp.h and | |
1099 | futex.h. | |
1100 | (gomp_barrier_wait_end): Rewritten. | |
1101 | (gomp_team_barrier_wait, gomp_team_barrier_wait_end, | |
1102 | gomp_team_barrier_wake, gomp_barrier_wait_last): New functions. | |
1103 | * config/posix/bar.h (gomp_barrier_t): Add generation field. | |
1104 | (gomp_barrier_state_t): New typedef. | |
1105 | (gomp_team_barrier_wait, | |
1106 | gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes. | |
1107 | (gomp_barrier_wait_start): Or all but low 2 bits from generation | |
1108 | into the return value. Return gomp_barrier_state_t. | |
1109 | (gomp_team_barrier_set_task_pending, | |
1110 | gomp_team_barrier_clear_task_pending, | |
1111 | gomp_team_barrier_set_waiting_for_tasks, | |
1112 | gomp_team_barrier_waiting_for_tasks, | |
1113 | gomp_team_barrier_done): New inlines. | |
1114 | (gomp_barrier_wait_end): Change second argument to | |
1115 | gomp_barrier_state_t. | |
1116 | (gomp_barrier_last_thread, gomp_barrier_wait_last): New static | |
1117 | inlines. | |
1118 | * config/posix/bar.c (gomp_barrier_init): Clear generation field. | |
1119 | (gomp_barrier_wait_end): Change second argument to | |
1120 | gomp_barrier_state_t. | |
1121 | (gomp_team_barrier_wait, gomp_team_barrier_wait_end, | |
1122 | gomp_team_barrier_wake): New functions. | |
1123 | * config/linux/mutex.c: Include wait.h instead of libgomp.h and | |
1124 | futex.h. | |
1125 | (gomp_futex_wake, gomp_futex_wait): New variables. | |
1126 | (gomp_mutex_lock_slow): Call do_wait instead of futex_wait. | |
1127 | * config/linux/lock.c: Rewrite to make locks task owned, | |
1128 | for backwards compatibility provide the old entrypoints | |
1129 | if symbol versioning. Include wait.h instead of libgomp.h and | |
1130 | futex.h. | |
1131 | (gomp_set_nest_lock_25): Call do_wait instead of futex_wait. | |
1132 | * config/posix95/lock.c: Rewrite to make locks task owned, | |
1133 | for backwards compatibility provide the old entrypoints | |
1134 | if symbol versioning. | |
1135 | * config/posix/lock.c: Rewrite to make locks task owned, | |
1136 | for backwards compatibility provide the old entrypoints | |
1137 | if symbol versioning. | |
1138 | * config/linux/proc.c (gomp_init_num_threads): Use gomp_global_icv. | |
1139 | (get_num_procs, gomp_dynamic_max_threads): Use gomp_icv. | |
1140 | * config/posix/proc.c, config/mingw32/proc.c: Similarly. | |
1141 | * config/linux/powerpc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
1142 | (sys_futex0): Return error code. | |
1143 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
1144 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
1145 | (cpu_relax, atomic_write_barrier): New static inlines. | |
1146 | * config/linux/alpha/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
1147 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
1148 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
1149 | (cpu_relax, atomic_write_barrier): New static inlines. | |
1150 | * config/linux/x86/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
1151 | (sys_futex0): Return error code. | |
1152 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
1153 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
1154 | (cpu_relax, atomic_write_barrier): New static inlines. | |
1155 | * config/linux/s390/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
1156 | (sys_futex0): Return error code. | |
1157 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
1158 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
1159 | (cpu_relax, atomic_write_barrier): New static inlines. | |
1160 | * config/linux/ia64/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
1161 | (sys_futex0): Return error code. | |
1162 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
1163 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
1164 | (cpu_relax, atomic_write_barrier): New static inlines. | |
1165 | * config/linux/sparc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
1166 | (sys_futex0): Return error code. | |
1167 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
1168 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
1169 | (cpu_relax, atomic_write_barrier): New static inlines. | |
1170 | * config/linux/sem.c: Include wait.h instead of libgomp.h and | |
1171 | futex.h. | |
1172 | (gomp_sem_wait_slow): Call do_wait instead of futex_wait. | |
1173 | * config/linux/affinity.c: Assume HAVE_SYNC_BUILTINS. | |
1174 | * config/linux/omp-lock.h (omp_lock_25_t, omp_nest_lock_25_t): New | |
1175 | types. | |
1176 | (omp_nest_lock_t): Change owner into void *, add lock field. | |
1177 | * config/posix95/omp-lock.h: Include semaphore.h. | |
1178 | (omp_lock_25_t, omp_nest_lock_25_t): New types. | |
1179 | (omp_lock_t): Use sem_t instead of mutex if semaphores | |
1180 | aren't broken. | |
1181 | (omp_nest_lock_t): Likewise. Change owner to void *. | |
1182 | * config/posix/omp-lock.h: Include semaphore.h. | |
1183 | (omp_lock_25_t, omp_nest_lock_25_t): New types. | |
1184 | (omp_lock_t): Use sem_t instead of mutex if semaphores | |
1185 | aren't broken. | |
1186 | (omp_nest_lock_t): Likewise. Add owner field. | |
1187 | ||
1188 | 2008-06-06 Jakub Jelinek <jakub@redhat.com> | |
1189 | ||
1190 | * testsuite/libgomp.c/collapse-1.c: New test. | |
1191 | * testsuite/libgomp.c/collapse-2.c: New test. | |
1192 | * testsuite/libgomp.c/collapse-3.c: New test. | |
1193 | * testsuite/libgomp.c/icv-1.c: New test. | |
1194 | * testsuite/libgomp.c/icv-2.c: New test. | |
1195 | * testsuite/libgomp.c/lib-2.c: New test. | |
1196 | * testsuite/libgomp.c/lock-1.c: New test. | |
1197 | * testsuite/libgomp.c/lock-2.c: New test. | |
1198 | * testsuite/libgomp.c/lock-3.c: New test. | |
1199 | * testsuite/libgomp.c/loop-4.c: New test. | |
1200 | * testsuite/libgomp.c/loop-5.c: New test. | |
1201 | * testsuite/libgomp.c/loop-6.c: New test. | |
1202 | * testsuite/libgomp.c/loop-7.c: New test. | |
1203 | * testsuite/libgomp.c/loop-8.c: New test. | |
1204 | * testsuite/libgomp.c/loop-9.c: New test. | |
1205 | * testsuite/libgomp.c/nested-3.c: New test. | |
1206 | * testsuite/libgomp.c/nestedfn-6.c: New test. | |
1207 | * testsuite/libgomp.c/sort-1.c: New test. | |
1208 | * testsuite/libgomp.c/task-1.c: New test. | |
1209 | * testsuite/libgomp.c/task-2.c: New test. | |
1210 | * testsuite/libgomp.c/task-3.c: New test. | |
1211 | * testsuite/libgomp.c/task-4.c: New test. | |
1212 | * testsuite/libgomp.c++/c++.exp: Add libstdc++-v3 build includes | |
1213 | to C++ testsuite default compiler options. | |
1214 | * testsuite/libgomp.c++/collapse-1.C: New test. | |
1215 | * testsuite/libgomp.c++/collapse-2.C: New test. | |
1216 | * testsuite/libgomp.c++/ctor-10.C: New test. | |
1217 | * testsuite/libgomp.c++/for-1.C: New test. | |
1218 | * testsuite/libgomp.c++/for-2.C: New test. | |
1219 | * testsuite/libgomp.c++/for-3.C: New test. | |
1220 | * testsuite/libgomp.c++/for-4.C: New test. | |
1221 | * testsuite/libgomp.c++/for-5.C: New test. | |
1222 | * testsuite/libgomp.c++/loop-8.C: New test. | |
1223 | * testsuite/libgomp.c++/loop-9.C: New test. | |
1224 | * testsuite/libgomp.c++/loop-10.C: New test. | |
1225 | * testsuite/libgomp.c++/task-1.C: New test. | |
1226 | * testsuite/libgomp.c++/task-2.C: New test. | |
1227 | * testsuite/libgomp.c++/task-3.C: New test. | |
1228 | * testsuite/libgomp.c++/task-4.C: New test. | |
1229 | * testsuite/libgomp.c++/task-5.C: New test. | |
1230 | * testsuite/libgomp.c++/task-6.C: New test. | |
1231 | * testsuite/libgomp.fortran/allocatable1.f90: New test. | |
1232 | * testsuite/libgomp.fortran/allocatable2.f90: New test. | |
1233 | * testsuite/libgomp.fortran/allocatable3.f90: New test. | |
1234 | * testsuite/libgomp.fortran/allocatable4.f90: New test. | |
1235 | * testsuite/libgomp.fortran/collapse1.f90: New test. | |
1236 | * testsuite/libgomp.fortran/collapse2.f90: New test. | |
1237 | * testsuite/libgomp.fortran/collapse3.f90: New test. | |
1238 | * testsuite/libgomp.fortran/collapse4.f90: New test. | |
1239 | * testsuite/libgomp.fortran/lastprivate1.f90: New test. | |
1240 | * testsuite/libgomp.fortran/lastprivate2.f90: New test. | |
1241 | * testsuite/libgomp.fortran/lib4.f90: New test. | |
1242 | * testsuite/libgomp.fortran/lock-1.f90: New test. | |
1243 | * testsuite/libgomp.fortran/lock-2.f90: New test. | |
1244 | * testsuite/libgomp.fortran/nested1.f90: New test. | |
1245 | * testsuite/libgomp.fortran/nestedfn4.f90: New test. | |
1246 | * testsuite/libgomp.fortran/strassen.f90: New test. | |
1247 | * testsuite/libgomp.fortran/tabs1.f90: New test. | |
1248 | * testsuite/libgomp.fortran/tabs2.f: New test. | |
1249 | * testsuite/libgomp.fortran/task1.f90: New test. | |
1250 | * testsuite/libgomp.fortran/task2.f90: New test. | |
1251 | * testsuite/libgomp.fortran/vla4.f90: Add dg-warning. | |
1252 | * testsuite/libgomp.fortran/vla5.f90: Likewise. | |
1253 | * testsuite/libgomp.c/pr26943-2.c: Likewise. | |
1254 | * testsuite/libgomp.c/pr26943-3.c: Likewise. | |
1255 | * testsuite/libgomp.c/pr26943-4.c: Likewise. | |
1256 | ||
7a0112e7 JJ |
1257 | 2008-05-23 Jakub Jelinek <jakub@redhat.com> |
1258 | ||
1259 | PR c++/36308 | |
1260 | * testsuite/libgomp.c++/ctor-11.C: New test. | |
1261 | * testsuite/libgomp.c++/ctor-12.C: New test. | |
1262 | ||
91a5b394 JJ |
1263 | 2008-05-15 Janis Johnson <janis187@us.ibm.com> |
1264 | ||
1265 | * testsuite/lib/libgomp.exp: Load torture-options.exp from gcc lib. | |
1266 | ||
c18c98c0 JJ |
1267 | 2008-05-07 Jakub Jelinek <jakub@redhat.com> |
1268 | ||
1269 | PR middle-end/36106 | |
1270 | * testsuite/libgomp.c/atomic-5.c: New test. | |
1271 | * testsuite/libgomp.c/atomic-6.c: New test. | |
1272 | * testsuite/libgomp.c/autopar-1.c: New test. | |
1273 | ||
6d26724a RW |
1274 | 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1275 | ||
1276 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS) | |
1277 | (LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY) | |
1278 | (LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT) | |
1279 | (LIBGOMP_CHECK_ATTRIBUTE_ALIAS): Fix cache variable names. | |
1280 | * configure: Regenerate. | |
1281 | * Makefile.in, testsuite/Makefile.in: Likewise. | |
1282 | ||
deb984e6 PB |
1283 | 2008-04-18 Paolo Bonzini <bonzini@gnu.org> |
1284 | ||
1285 | PR bootstrap/35457 | |
1286 | * aclocal.m4: Regenerate. | |
1287 | * configure: Regenerate. | |
1288 | ||
9e775963 JJ |
1289 | 2008-03-18 Jakub Jelinek <jakub@redhat.com> |
1290 | ||
8119fc93 JJ |
1291 | PR middle-end/35611 |
1292 | * testsuite/libgomp.c/atomic-4.c: New test. | |
1293 | ||
9e775963 JJ |
1294 | PR libgomp/35625 |
1295 | * iter.c (gomp_iter_guided_next_locked): If q > n, set end to ws->end. | |
1296 | (gomp_iter_guided_next): Likewise. | |
1297 | * testsuite/libgomp.c/pr35625.c: New test. | |
1298 | ||
38d24731 RW |
1299 | 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1300 | ||
1301 | * aclocal.m4: Regenerate. | |
1302 | * configure: Likewise. | |
1303 | * Makefile.in: Likewise. | |
1304 | * testsuite/Makefile.in: Likewise. | |
1305 | ||
d0fb20be JJ |
1306 | 2008-03-13 Jakub Jelinek <jakub@redhat.com> |
1307 | ||
1308 | PR middle-end/35185 | |
1309 | * testsuite/libgomp.c++/pr35185.C: New test. | |
1310 | ||
7c8f7639 JJ |
1311 | 2008-03-12 Jakub Jelinek <jakub@redhat.com> |
1312 | ||
1313 | PR middle-end/35549 | |
1314 | * testsuite/libgomp.c/pr35549.c: New test. | |
1315 | ||
251923f5 JJ |
1316 | 2008-03-06 Jakub Jelinek <jakub@redhat.com> |
1317 | ||
1318 | * testsuite/libgomp.c/atomic-3.c: New test. | |
1319 | ||
f489fba1 FXC |
1320 | 2008-03-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
1321 | ||
1322 | PR fortran/33197 | |
251923f5 | 1323 | * testsuite/libgomp.fortran/fortran.exp: Add .f08 and |
f489fba1 FXC |
1324 | .F08 file suffixes. |
1325 | ||
a1b25e49 PG |
1326 | 2008-03-03 Peter O'Gorman <pogma@thewrittenword.com> |
1327 | ||
1328 | PR libgomp/33131 | |
1329 | * configure.ac: Add ACX_HEADER_STRING. | |
1330 | * env.c: Include strings.h. | |
1331 | * aclocal.m4: Regenerate. | |
1332 | * config.h.in: Regenerate. | |
1333 | * configure: Regenerate. | |
1334 | * Makefile.in: Regenerate. | |
1335 | * testsuite/Makefile.in: Regenerate. | |
1336 | ||
6837b3b8 JJ |
1337 | 2008-02-15 Jakub Jelinek <jakub@redhat.com> |
1338 | ||
ac84c062 JJ |
1339 | PR middle-end/35196 |
1340 | * testsuite/libgomp.c/pr35196.c: New test. | |
1341 | ||
6837b3b8 JJ |
1342 | PR middle-end/35130 |
1343 | * testsuite/libgomp.fortran/pr35130.f90: New test. | |
1344 | * testsuite/libgomp.c/pr35130.c: New test. | |
1345 | ||
c256730c JJ |
1346 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> |
1347 | ||
1348 | PR middle-end/33880 | |
1349 | * testsuite/libgomp.c/pr33880.c: New test. | |
1350 | * testsuite/libgomp.fortran/pr33880.f90: New test. | |
1351 | ||
c8e95542 | 1352 | 2008-01-24 David Edelsohn <edelsohn@gnu.org> |
d653fdfb DE |
1353 | |
1354 | * configure: Regenerate. | |
1355 | ||
0f3e711e JJ |
1356 | 2008-01-08 Jakub Jelinek <jakub@redhat.com> |
1357 | ||
1358 | * configure.ac: Move futex checking into ../config/futex.m4. | |
1359 | * configure: Rebuilt. | |
1360 | * aclocal.m4: Rebuilt. | |
1361 | * Makefile.in: Rebuilt. | |
1362 | ||
1363 | * configure.tgt: Rename have_tls to gcc_cv_have_tls to match | |
1364 | 2007-10-15 ../config/tls.m4 change. | |
1365 | ||
5259c813 JJ |
1366 | 2007-12-19 Jakub Jelinek <jakub@redhat.com> |
1367 | ||
1368 | PR c++/34513 | |
1369 | * testsuite/libgomp.c/pr34513.c: New test. | |
1370 | * testsuite/libgomp.c++/pr34513.C: New test. | |
1371 | ||
ae8d8879 JH |
1372 | 2007-12-17 Jack Howarth <howarth@bromo.med.uc.edu> |
1373 | ||
1374 | PR target/32765 | |
1375 | * testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin. | |
1376 | ||
2b4cf991 JJ |
1377 | 2007-12-04 Jakub Jelinek <jakub@redhat.com> |
1378 | ||
1379 | * omp.h.in (__GOMP_NOTHROW): Define. Use it on omp_* prototypes. | |
1380 | ||
d2dda7fe JJ |
1381 | 2007-12-03 Jakub Jelinek <jakub@redhat.com> |
1382 | ||
1383 | * testsuite/libgomp.c/private-1.c: New test. | |
1384 | ||
d683ec81 PB |
1385 | 2007-11-29 Andris Pavenis <andris.pavenis@iki.fi> |
1386 | Paolo Bonzini <bonzini@gnu.org> | |
1387 | ||
1388 | * Makefile.am: Use space as vpath separator. Use 'vpath %' | |
1389 | instead of 'VPATH ='. | |
1390 | * Makefile.in: Regenerate. | |
1391 | ||
a7415017 MK |
1392 | 2007-11-23 Matthias Klose <doko@ubuntu.com> |
1393 | ||
1394 | * configure.ac: Adjust makeinfo version check. | |
1395 | * configure: Regenerate. | |
1396 | ||
78e47463 JJ |
1397 | 2007-11-10 Jakub Jelinek <jakub@redhat.com> |
1398 | ||
1399 | PR fortran/34020 | |
1400 | * testsuite/libgomp.fortran/pr34020.f90: New test. | |
1401 | ||
239371f9 JJ |
1402 | 2007-11-06 Jakub Jelinek <jakub@redhat.com> |
1403 | ||
1404 | PR c++/33894 | |
1405 | * testsuite/libgomp.c++/atomic-1.C: New test. | |
1406 | ||
98a5fa94 JJ |
1407 | 2007-10-25 Jakub Jelinek <jakub@redhat.com> |
1408 | ||
1409 | PR libgomp/33275 | |
1410 | * testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate): | |
1411 | Make x and y integers rather than (implicit) reals. Add private (j) | |
1412 | clause to the last omp parallel. | |
1413 | ||
3afcaaf4 MR |
1414 | 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org> |
1415 | ||
1416 | * configure: Regenerate following changes to ../config/tls.m4. | |
1417 | ||
bd69daef JJ |
1418 | 2007-09-28 Jakub Jelinek <jakub@redhat.com> |
1419 | ||
1420 | * testsuite/libgomp.fortran/stack.f90: New test. | |
1421 | ||
1d0bd356 DS |
1422 | 2007-09-10 Danny Smith <dannysmith@users.sourceforge.net> |
1423 | ||
1424 | * config/mingw32/proc.c: New file. | |
1425 | ||
b3172cab UB |
1426 | 2007-09-05 Uros Bizjak <ubizjak@gmail.com> |
1427 | ||
1428 | * testsuite/libgomp.c/atomic-1.c: Include cpuid.h for i386 targets. | |
1429 | (main): Use __get_cpuid to get i386 target fetaures. | |
1430 | * testsuite/libgomp.c/atomic-2.c: Include cpuid.h for x86_64 targets. | |
1431 | (main): Use __get_cpuid to get x86_64 target fetaures. | |
1432 | ||
6da17392 JH |
1433 | 2007-08-15 Jack Howarth <howarth@bromo.med.uc.edu> |
1434 | ||
1435 | PR target/32765 | |
1436 | * testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin. | |
1437 | * testsuite/libgomp.fortran/crayptr2.f90: Likwise. | |
1438 | ||
e1c82219 JJ |
1439 | 2007-07-12 Jakub Jelinek <jakub@redhat.com> |
1440 | ||
1441 | PR fortran/32550 | |
1442 | * testsuite/libgomp.fortran/pr32550.f90: New test. | |
1443 | * testsuite/libgomp.fortran/crayptr2.f90: New test. | |
1444 | ||
12a27363 L |
1445 | 2007-07-05 H.J. Lu <hongjiu.lu@intel.com> |
1446 | ||
1447 | * aclocal.m4: Regenerated. | |
1448 | ||
5349080d TB |
1449 | 2007-07-05 Tobias Burnus <burnus@net-b.de> |
1450 | ||
1451 | PR fortran/32359 | |
1452 | * testsuite/libgomp.fortran/pr32359.f90: New. | |
1453 | ||
4f9c450c JJ |
1454 | 2007-07-02 Jakub Jelinek <jakub@redhat.com> |
1455 | ||
1456 | PR libgomp/32468 | |
1457 | * sections.c (GOMP_parallel_sections_start): Only decrease | |
1458 | number of threads to COUNT if dyn_var is true. | |
1459 | * testsuite/libgomp.c/pr32468.c: New test. | |
1460 | ||
28c67ed7 RO |
1461 | 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1462 | ||
1463 | PR libgomp/26308 | |
1464 | * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX. | |
1465 | ||
64964499 JJ |
1466 | 2007-06-21 Jakub Jelinek <jakub@redhat.com> |
1467 | ||
1468 | PR middle-end/32362 | |
1469 | * testsuite/libgomp.c/pr32362-1.c: New test. | |
1470 | * testsuite/libgomp.c/pr32362-2.c: New test. | |
1471 | * testsuite/libgomp.c/pr32362-3.c: New test. | |
1472 | ||
46d8fbd1 JJ |
1473 | 2007-06-07 Jakub Jelinek <jakub@redhat.com> |
1474 | ||
1475 | * team.c (gomp_team_start): Fix setting up thread_attr | |
1476 | stack size. | |
1477 | ||
82a6cadf PB |
1478 | 2007-06-02 Paolo Bonzini <bonzini@gnu.org> |
1479 | ||
1480 | * configure: Regenerate. | |
1481 | ||
1cf3d07d SE |
1482 | 2007-05-23 Steve Ellcey <sje@cup.hp.com> |
1483 | ||
1484 | * Makefile.in: Regenerate. | |
1485 | * configure: Regenerate. | |
1486 | * aclocal.m4: Regenerate. | |
1487 | * testsuite/Makefile.in: Regenerate. | |
1488 | ||
12aac30b JJ |
1489 | 2007-05-04 Jakub Jelinek <jakub@redhat.com> |
1490 | ||
1491 | * config/linux/proc.c: New file. | |
1492 | ||
f1028b02 JJ |
1493 | PR libgomp/28482 |
1494 | * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux. | |
1495 | ||
06785a48 DF |
1496 | 2007-04-19 Daniel Franke <franke.daniel@gmail.com> |
1497 | ||
1498 | * libgomp.texi (GOMP_CPU_AFFINITY): Updated. | |
1499 | ||
b3b08ba0 MK |
1500 | 2007-04-16 Matthias Klose <doko@debian.org> |
1501 | ||
1502 | * configure.tgt (i[456]86-*-linux*): Only add ia32 specific | |
1503 | flags if not building with -m64. | |
1504 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march | |
1505 | flag for i?86-*-* targets, if current target matches -m64. | |
1506 | ||
6b2c5ce0 SE |
1507 | 2007-04-14 Steve Ellcey <sje@cup.hp.com> |
1508 | ||
1509 | * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. | |
1510 | * Makefile.in: Regenerate. | |
1511 | ||
dd56fe7c JDA |
1512 | 2007-04-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1513 | ||
1514 | PR testsuite/31369 | |
1515 | * testsuite/libgomp.c++/c++.exp: Don't use concat when setting | |
1516 | ld_library_path. | |
1517 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
1518 | ||
a0884cf0 JJ |
1519 | 2007-04-04 Jakub Jelinek <jakub@redhat.com> |
1520 | ||
1521 | * libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern | |
1522 | decls. | |
1523 | (gomp_init_affinity, gomp_init_thread_affinity): New prototypes. | |
1524 | * env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables. | |
1525 | (parse_affinity): New function. | |
1526 | (initialize_env): Call it and gomp_init_affinity. | |
1527 | * team.c (gomp_team_start): If gomp_cpu_affinity != NULL, | |
1528 | create new pthread_attr_t and call gomp_init_thread_affinity | |
1529 | on it for each thread before passing the attribute to pthread_create. | |
1530 | * config/linux/affinity.c: New file. | |
1531 | * config/posix/affinity.c: New file. | |
1532 | * configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test. | |
1533 | * configure: Rebuilt. | |
1534 | * config.h.in: Rebuilt. | |
1535 | * Makefile.am (libgomp_la_SOURCES): Add affinity.c. | |
1536 | * Makefile.in: Rebuilt. | |
1537 | ||
1850744b AT |
1538 | 2007-03-23 Andreas Tobler <a.tobler@schweiz.org> |
1539 | ||
1540 | * testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for | |
1541 | *-*-darwin*. | |
1542 | * testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library | |
1543 | and use it if found. | |
1544 | ||
516f1ed8 UB |
1545 | 2007-03-18 Uros Bizjak <ubizjak@gmail.com> |
1546 | ||
1547 | * testsuite/config/default.exp: New file. | |
1548 | * testsuite/lib/libgomp.exp: New file. | |
1549 | * testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init, | |
1550 | libgomp_target_compile, libgomp_option_help, libgomp_option_proc, | |
1551 | load_lib *, load_gcc_lib *): Move to libgomp.exp. | |
1552 | (libgomp_load): Remove. | |
1553 | * testsuite/lib/libgomp.exp (libgomp_init): Compute | |
1554 | always_ld_library_path, not ld_library_path. Set additional_flags | |
1555 | to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets. | |
1556 | (target_compile): Do not call libgomp_init. Append lang_library_path | |
1557 | and lang_link_flags to options. | |
1558 | * testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2. Set | |
1559 | ld_library_path from always_ld_library_path. Set LD_LIBRARY_PATH | |
1560 | here. | |
1561 | * testsuite/libgomp.c++/c++.exp: Set ld_library_path from | |
1562 | always_ld_library_path. Set LD_LIBRARY_PATH here. | |
1563 | * testsuite/libgomp.fortran/fortran.exp: Ditto. | |
1564 | * testsuite/libgomp.c/atomic-1.c: Set dg-options to | |
1565 | "-O2 -march=pentium" for ilp32 x86 targets. Simplify check for | |
1566 | CX8 flag. | |
1567 | * testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for | |
1568 | lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3. | |
1569 | * testsuite/libgomp.c/pr29947-1.c: Remove default dg-options. | |
1570 | * testsuite/libgomp.c/pr29947-1.c: Ditto. | |
1571 | * testsuite/libgomp.c/atomic-10.c: Ditto. | |
1572 | ||
2ada56f5 JJ |
1573 | 2007-03-21 Jakub Jelinek <jakub@redhat.com> |
1574 | ||
1575 | * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add | |
1576 | dg-final cleanup-modules line. | |
1577 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise. | |
1578 | * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise. | |
1579 | * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise. | |
1580 | * testsuite/libgomp.fortran/threadprivate2.f90: Likewise. | |
1581 | * testsuite/libgomp.fortran/reduction5.f90: Likewise. | |
1582 | * testsuite/libgomp.fortran/threadprivate3.f90: Likewise. | |
1583 | * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. | |
1584 | ||
f210f1cd AS |
1585 | 2007-03-18 Andreas Schwab <schwab@suse.de> |
1586 | ||
1587 | * acinclude.m4: Adjust regular expression for ld version | |
1588 | extraction. | |
1589 | * configure: Regenerate. | |
1590 | ||
c4dc950d BM |
1591 | 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> |
1592 | ||
1593 | * Makefile.am: Add install-pdf target as copied from | |
1594 | automake v1.10 rules. | |
1595 | * Makefile.in: Regenerate | |
1596 | ||
e02a048f JJ |
1597 | 2007-02-07 Jakub Jelinek <jakub@redhat.com> |
1598 | ||
78e075d4 JJ |
1599 | PR libgomp/28486 |
1600 | * configure: Regenerate. | |
1601 | ||
e02a048f JJ |
1602 | PR c++/30703 |
1603 | * testsuite/libgomp.c++/pr30703.C: New test. | |
1604 | ||
60def7ed JJ |
1605 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
1606 | ||
1607 | Revert: | |
1608 | 2006-07-05 Eric Christopher <echristo@apple.com> | |
1609 | * configure.ac: Depend addition of -pthread on host OS. | |
1610 | * configure: Regenerate. | |
1611 | ||
f1b0882e RW |
1612 | 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1613 | ||
1614 | * libgomp.texi: Fix spacing after abbreviations. | |
1615 | ||
748b9d7c DF |
1616 | 2007-01-31 Daniel Franke <franke.daniel@gmail.com> |
1617 | ||
1618 | PR libgomp/30546 | |
1619 | * configure.ac: Add check for makeinfo | |
1620 | * Makefile.am: Redefined target libgomp.info, build libgomp.info only | |
1621 | if an appropiate version of makeinfo is found. | |
1622 | * aclocal.m4: Regenerated. | |
1623 | * configure: Regenerated. | |
1624 | * Makefile.in: Regenerated. | |
1625 | * testsuite/Makefile.in: Regenerated. | |
1626 | ||
14734fc7 DF |
1627 | 2007-01-29 Daniel Franke <franke.daniel@gmail.com> |
1628 | ||
1629 | PR libgomp/30540 | |
1630 | * libgomp.texi: More about implementation-dependent settings. | |
1631 | ||
7befd5d2 TB |
1632 | 2007-01-26 Tobias Burnus <burnus@net-b.de> |
1633 | ||
1634 | * testsuite/libgomp.fortran/fortran.exp: Support .f03 extension. | |
1635 | ||
4288fea2 JJ |
1636 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
1637 | ||
1638 | PR middle-end/30494 | |
1639 | * testsuite/libgomp.c/pr30494.c: New test. | |
1640 | ||
627ab4b8 TT |
1641 | 2007-01-15 Tom Tromey <tromey@redhat.com> |
1642 | ||
1643 | * configure: Rebuilt. | |
1644 | * configure.ac: Fixed comment. | |
1645 | ||
7c2b7f45 DF |
1646 | 2007-01-14 Daniel Franke <franke.daniel@gmail.com> |
1647 | ||
1648 | * libgomp.texi: Document implementation specific default values of | |
1649 | environment variables. | |
1650 | ||
3721b9e1 DF |
1651 | 2006-12-21 Daniel Franke <franke.daniel@gmail.com> |
1652 | ||
1653 | PR libgomp/28209 | |
1654 | * libgomp.texi: New file. | |
1655 | * configure.ac: Add --enable-generated-files-in-srcdir option. | |
1656 | * Makefile.am: Add info, dvi, pdf, html targets. On request, copy | |
1657 | files to srcdir. | |
1658 | * Makefile.in: Regenerated. | |
1659 | * config.h.in: Regenerated. | |
1660 | * testsuite/Makefile.in: Regenerated. | |
1661 | * NOTES: Removed. | |
1662 | ||
62bd6216 DF |
1663 | 2006-12-04 Daniel Franke <franke.daniel@gmail.com> |
1664 | ||
1665 | PR libgomp/29949 | |
1666 | * env.c (omp_set_num_threads): Set illegal thread count to 1. | |
1667 | ||
aad741f4 EB |
1668 | 2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
1669 | ||
1670 | * configure: Regenerate. | |
1671 | ||
22568cc6 JJ |
1672 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
1673 | ||
1674 | PR libgomp/29947 | |
1675 | * loop.c (gomp_loop_init): Make parameters signed. Set ws->end to | |
1676 | start if there shouldn't be any loop iterations. | |
1677 | (gomp_loop_ordered_static_start): Remove start == end test. | |
1678 | * testsuite/libgomp.c/pr29947-1.c: New test. | |
1679 | * testsuite/libgomp.c/pr29947-2.c: New test. | |
1680 | ||
a9690009 EB |
1681 | 2006-12-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
1682 | ||
1683 | * configure.tgt: Force initial-exec TLS model on Linux only. | |
1684 | ||
597c25e6 DJ |
1685 | 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com> |
1686 | ||
1687 | * configure: Regenerated. | |
1688 | ||
6acf0b38 UB |
1689 | 2006-11-09 Uros Bizjak <ubizjak@gmail.com> |
1690 | ||
1691 | * env.c (parse_schedule): Reject out of range values. | |
1692 | (parse_unsigned_long): Reject out of range, negative or zero values. | |
1693 | ||
a7a53ca5 JJ |
1694 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> |
1695 | ||
1696 | PR fortran/29629 | |
1697 | * testsuite/libgomp.fortran/pr29629.f90: New test. | |
1698 | ||
6d4d216a EB |
1699 | 2006-10-24 Eric Botcazou <ebotcazou@libertysurf.fr> |
1700 | ||
1701 | PR libgomp/29494 | |
1702 | * configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6. | |
1703 | * config/posix95: New directory. | |
1704 | * config/posix95/omp-lock.h: New file. | |
1705 | * config/posix95/lock.c: Likewise. | |
1706 | ||
5b043f08 GK |
1707 | 2006-10-14 Geoffrey Keating <geoffk@apple.com> |
1708 | ||
1709 | * aclocal.m4: Regenerate. | |
1710 | * configure: Regenerate. | |
1711 | ||
b50019f0 DS |
1712 | 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net> |
1713 | ||
1714 | * testsuite/libgomp.c/barrier-1.c: Change timestamp tests from | |
1715 | '<' to '<='. | |
1716 | ||
8887708e DS |
1717 | 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net> |
1718 | ||
1719 | * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from | |
1720 | test. | |
1721 | * configure: Regenerate. | |
1722 | * fortran.c (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias. | |
1723 | ||
9b9e4cd6 JJ |
1724 | 2006-09-26 Jakub Jelinek <jakub@redhat.com> |
1725 | ||
a70ad3bb JJ |
1726 | PR middle-end/25261 |
1727 | PR middle-end/28790 | |
1728 | * testsuite/libgomp.c/nestedfn-4.c: New test. | |
1729 | * testsuite/libgomp.c/nestedfn-5.c: New test. | |
1730 | * testsuite/libgomp.fortran/nestedfn3.f90: New test. | |
1731 | ||
9b9e4cd6 JJ |
1732 | PR fortran/29097 |
1733 | * testsuite/libgomp.fortran/condinc1.f: New test. | |
1734 | * testsuite/libgomp.fortran/condinc2.f: New test. | |
1735 | * testsuite/libgomp.fortran/condinc3.f90: New test. | |
1736 | * testsuite/libgomp.fortran/condinc4.f90: New test. | |
1737 | * testsuite/libgomp.fortran/condinc1.inc: New file. | |
1738 | ||
2fb31455 TT |
1739 | 2006-09-18 Tom Tromey <tromey@redhat.com> |
1740 | ||
1741 | * configure: Rebuilt. | |
1742 | ||
c663e301 JM |
1743 | 2006-09-13 Joseph S. Myers <joseph@codesourcery.com> |
1744 | ||
1745 | PR c/28768 | |
1746 | PR preprocessor/14634 | |
1747 | * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument | |
1748 | to AC_DEFINE. | |
1749 | * configure: Regenerate. | |
1750 | ||
38371be9 SK |
1751 | 2006-09-08 Steven G. Kargl <kargl@gcc.gnu.org> |
1752 | ||
1753 | * testsuite/libgomp.fortran/reduction3.f90: Change | |
1754 | -2147483648 to -huge(i)-1 to avoid overflow. | |
1755 | * testsuite/libgomp.fortran/reduction4.f90: Change | |
1756 | Z'ffffffff' to not(0) to avoid overflow. | |
1757 | ||
571d5ac5 JM |
1758 | 2006-08-26 Joseph S. Myers <joseph@codesourcery.com> |
1759 | ||
1760 | PR libgomp/25938 | |
1761 | * Makefile.am (libsubincludedir): New. | |
1762 | (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS. | |
1763 | * Makefile.in: Regenerate. | |
1764 | ||
89b3e3cd JJ |
1765 | 2006-08-17 Jakub Jelinek <jakub@redhat.com> |
1766 | ||
1767 | PR libgomp/28725 | |
1768 | * env.c: Include ctype.h. | |
1769 | (parse_schedule, parse_unsigned_long, parse_boolean): Allow | |
1770 | leading and/or trailing whitespace and compare strings case | |
1771 | insensitively. | |
1772 | ||
742fae05 JJ |
1773 | 2006-07-16 Jakub Jelinek <jakub@redhat.com> |
1774 | ||
1775 | PR fortran/28390 | |
1776 | * testsuite/libgomp.fortran/pr28390.f: New test. | |
1777 | ||
a1daed2d EC |
1778 | 2006-07-05 Eric Christopher <echristo@apple.com> |
1779 | ||
1780 | * configure.ac: Depend addition of -pthread on host OS. | |
1781 | * configure: Regenerate. | |
1782 | ||
5d7b5199 JJ |
1783 | 2006-06-21 Jakub Jelinek <jakub@redhat.com> |
1784 | ||
1785 | * critical.c (GOMP_critical_name_start): Fix *pptr initialization | |
1786 | when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is | |
1787 | defined. | |
1788 | ||
fe5568e9 JJ |
1789 | 2006-06-20 Jakub Jelinek <jakub@redhat.com> |
1790 | ||
1791 | PR libgomp/26175 | |
1792 | PR libgomp/26477 | |
1793 | * configure.ac: If neither --enable-linux-futex nor | |
1794 | --disable-linux-futex is passed, determine the default by checking | |
1795 | for compiling and/or running against NPTL. With --enable-linux-futex, | |
1796 | check if SYS_gettid and SYS_futex are defined. | |
1797 | * configure: Rebuilt. | |
1798 | ||
c3b11a40 RH |
1799 | 2006-06-14 Richard Henderson <rth@redhat.com> |
1800 | ||
1801 | PR libgomp/28008 | |
1802 | * env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when | |
1803 | undefined. Use GOMP_STACKSIZE not OMP_STACKSIZE for environment. | |
1804 | ||
d0d1b24d RH |
1805 | 2006-06-09 Richard Henderson <rth@redhat.com> |
1806 | ||
1807 | * env.c (gomp_nthreads_var): Change to unsigned long. | |
1808 | (gomp_run_sched_chunk): Likewise. | |
1809 | (parse_unsigned_long): Rename from parse_num_threads and generalize. | |
1810 | (initialize_env): Initialize gomp_thread_attr. | |
1811 | * libgomp.h (gomp_nthreads_var): Update decl. | |
1812 | (gomp_run_sched_chunk): Likewise. | |
1813 | (gomp_thread_attr): Declare. | |
1814 | * team.c (gomp_thread_attr): Export. | |
1815 | (initialize_team): Don't initialize it. | |
1816 | ||
cd75853e JJ |
1817 | 2006-06-09 Jakub Jelinek <jakub@redhat.com> |
1818 | ||
1819 | PR fortran/27916 | |
1820 | * testsuite/libgomp.fortran/pr27916-1.f90: New test. | |
1821 | * testsuite/libgomp.fortran/pr27916-2.f90: New test. | |
1822 | ||
33815e0c FXC |
1823 | 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
1824 | ||
1825 | * config/mingw32/time.c: New file. | |
1826 | * configure.tgt: Use it. | |
1827 | ||
6667de0d CD |
1828 | 2006-05-23 Carlos O'Donell <carlos@codesourcery.com> |
1829 | ||
1830 | * Makefile.am: Add install-html target. Add install-html to .PHONY | |
1831 | * Makefile.in: Regenerate. | |
1832 | ||
e962c46b JDA |
1833 | 2006-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1834 | ||
1835 | PR libgomp/27612 | |
1836 | * testsuite/libgomp.c/sections-1.c: Require sync_int_long. | |
1837 | * testsuite/libgomp.c/critical-1.c: Likewise. | |
1838 | * testsuite/libgomp.c/loop-1.c: Likewise. | |
1839 | * testsuite/libgomp.c/loop-2.c: Likewise. | |
1840 | * testsuite/libgomp.c/single-1.c: Likewise. | |
1841 | * testsuite/libgomp.c/ordered-1.c: Likewise. | |
1842 | * testsuite/libgomp.c/ordered-2.c: Likewise. | |
1843 | ||
eeb1d9e0 JJ |
1844 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
1845 | ||
1846 | PR middle-end/27416 | |
1847 | * libgomp.fortran/pr27416-1.f90: New test. | |
1848 | ||
693d710f JJ |
1849 | 2006-05-03 Jakub Jelinek <jakub@redhat.com> |
1850 | ||
1851 | PR fortran/27395 | |
1852 | * testsuite/libgomp.fortran/pr27395-1.f90: New test. | |
1853 | * testsuite/libgomp.fortran/pr27395-2.f90: New test. | |
1854 | ||
8ca5b2a2 JJ |
1855 | 2006-05-02 Jakub Jelinek <jakub@redhat.com> |
1856 | ||
1857 | PR c++/26943 | |
1858 | * testsuite/libgomp.c/pr26943-1.c: New test. | |
1859 | * testsuite/libgomp.c/pr26943-2.c: New test. | |
1860 | * testsuite/libgomp.c/pr26943-3.c: New test. | |
1861 | * testsuite/libgomp.c/pr26943-4.c: New test. | |
1862 | * testsuite/libgomp.c++/pr27337.C: Remove barrier. | |
1863 | * testsuite/libgomp.c++/pr26943.C: New test. | |
1864 | ||
077b0dfb JJ |
1865 | 2006-05-02 Jakub Jelinek <jakub@redhat.com> |
1866 | ||
1867 | PR middle-end/27337 | |
1868 | * testsuite/libgomp.c++/pr27337.C: New test. | |
1869 | ||
91b6c26d JJ |
1870 | 2006-04-26 Jakub Jelinek <jakub@redhat.com> |
1871 | ||
1872 | PR c/26171 | |
1873 | * testsuite/libgomp.c/pr26171.c: New test. | |
1874 | ||
60e1758f RH |
1875 | 2006-04-25 Richard Henderson <rth@redhat.com> |
1876 | ||
1877 | PR libgomp/25865 | |
1878 | * configure.ac: Use GCC_CHECK_TLS. | |
1879 | * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove. | |
1880 | * Makefile.in, aclocal.m4, configure: Regenerate. | |
1881 | ||
615baed7 MK |
1882 | 2006-04-10 Matthias Klose <doko@debian.org> |
1883 | ||
1884 | * testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib | |
1885 | directory names containing underscores. | |
1886 | ||
fae2b46b JJ |
1887 | 2006-03-21 Jakub Jelinek <jakub@redhat.com> |
1888 | ||
1889 | PR c++/26691 | |
1890 | * testsuite/libgomp.c++/pr26691.C: New test. | |
1891 | ||
11a5f608 JJ |
1892 | 2006-03-13 Jakub Jelinek <jakub@redhat.com> |
1893 | ||
1894 | * testsuite/libgomp.fortran/retval2.f90: New test. | |
1895 | ||
1799e5d5 RH |
1896 | 2006-03-09 Diego Novillo <dnovillo@redhat.com> |
1897 | ||
1898 | * testsuite/libgomp.c++: New directory. | |
1899 | ||
d349482e AT |
1900 | 2006-02-25 Shantonu Sen <ssen@opendarwin.org> |
1901 | ||
1902 | * config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions. | |
1903 | * config/posix/sem.c: Implement the above. | |
1904 | ||
1905 | 2006-02-25 Andreas Tobler <a.tobler@schweiz.ch> | |
1906 | ||
1907 | * configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and | |
1908 | define HAVE_BROKEN_POSIX_SEMAPHORES. | |
1909 | * configure: Rebuilt. | |
1910 | * config.h.in: Rebuilt. | |
1911 | ||
124452c9 FXC |
1912 | 2006-02-17 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
1913 | ||
1914 | PR bootstrap/26161 | |
1915 | * configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment | |
1916 | for the other pthread check. | |
1917 | * configure: Regenerate. | |
1918 | * config.h.in: Regenerate. | |
1919 | ||
dd8d6dfe JJ |
1920 | 2006-02-15 Jakub Jelinek <jakub@redhat.com> |
1921 | ||
1922 | PR libgomp/25938 | |
1923 | PR libgomp/25984 | |
1924 | * Makefile.am (fincludedir): New variable. | |
1925 | (nodist_include_HEADERS): Remove Fortran files. | |
1926 | (nodist_finclude_HEADERS): New variable. | |
1927 | * Makefile.in: Regenerated. | |
1928 | ||
6c7a4dfd JJ |
1929 | 2006-02-13 Jakub Jelinek <jakub@redhat.com> |
1930 | ||
1931 | * testsuite/libgomp.fortran/vla7.f90: Add -w to options. | |
1932 | Remove tests for returning assumed character length arrays. | |
1933 | ||
5142e08b RS |
1934 | 2006-02-12 Roger Sayle <roger@eyesopen.com> |
1935 | John David Anglin <dave@hiauly1.hia.nrc.ca> | |
1936 | ||
1937 | PR libgomp/25936 | |
1938 | * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems. | |
a1daed2d | 1939 | |
5821fba8 UW |
1940 | 2006-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
1941 | ||
1942 | * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library. | |
1943 | ||
cb2bbc67 EB |
1944 | 2006-02-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
1945 | ||
1946 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related | |
1947 | part of LD_LIBRARY_PATH manually. | |
1948 | ||
f05ee80c L |
1949 | 2006-02-03 H.J. Lu <hongjiu.lu@intel.com> |
1950 | ||
1951 | PR libgomp/25852 | |
1952 | * testsuite/lib/libgomp-dg.exp (blddir): Set it in | |
1953 | libgomp_init. | |
1954 | ||
03b8fe49 PB |
1955 | 2005-01-25 Paolo Bonzini <bonzini@gnu.org> |
1956 | ||
1957 | PR libgomp/25884 | |
f05ee80c L |
1958 | * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove. |
1959 | * configure.ac (PERL): Don't set. | |
1960 | (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here. | |
1961 | (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE, | |
1962 | OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions. | |
1963 | * omp.h.in: Wrap the new configure substitutions with @ characters. | |
1964 | * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise. | |
1965 | * aclocal.m4, configure, Makefile.in: Regenerate. | |
1966 | * mkomp_h.pl: Delete. | |
03b8fe49 | 1967 | |
18cbfd85 PB |
1968 | 2005-01-24 Paolo Bonzini <bonzini@gnu.org> |
1969 | ||
1970 | PR libgomp/25259 | |
1971 | * configure.ac: Use GCC_HEADER_STDINT. | |
1972 | * libgomp.h: Include gstdint.h. | |
1973 | * libgomp_f.h.in: Don't include stdint.h or inttypes.h. | |
1974 | * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild. | |
1975 | ||
c41303c6 RH |
1976 | 2006-01-24 Richard Henderson <rth@redhat.com> |
1977 | ||
1978 | PR libgomp/25942 | |
1979 | * configure.ac: Add AM_MAINTAINER_MODE. | |
1980 | * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild. | |
1981 | ||
149b9553 DN |
1982 | 2006-01-24 Diego Novillo <dnovillo@redhat.com> |
1983 | ||
1984 | * Makefile.in: Regenerate. | |
1985 | * testsuite/Makefile.in: Regenerate. | |
1986 | * aclocal.m4: Regenerate. | |
1987 | ||
192a50ad AT |
1988 | 2006-01-23 Andreas Tobler <a.tobler@schweiz.ch> |
1989 | ||
1990 | * config/posix/proc.c: Conditional include of sys/loadavg.h for | |
1991 | Solaris. | |
1992 | * configure.ac: Add check for loadavg.h. | |
1993 | (link_gomp): Adjust comment. | |
1994 | * configure: Regenerate. | |
1995 | * config.h.in: Regenerate. | |
1996 | ||
a55b8e18 SE |
1997 | 2006-01-21 Steve Ellcey <sje@cup.hp.com> |
1998 | ||
1999 | PR libgomp/25877 | |
2000 | * configure.ac: Remove check for alloca.h. | |
2001 | * configure: Regenerate. | |
2002 | * config.h.in: Regenerate. | |
2003 | * libgomp.h: define gomp_alloca to be __builtin_alloca. | |
2004 | * team.c: Remove use of alloca.h. | |
2005 | Call gomp_alloca instead of alloca. | |
2006 | ||
692eeb34 SE |
2007 | 2006-01-20 Steve Ellcey <sje@cup.hp.com> |
2008 | ||
2009 | PR libgomp/25877 | |
2010 | * team.c: Add include of alloca.h. | |
2011 | * configure.ac: Add check for alloca.h. | |
2012 | * configure: Regenerate. | |
2013 | * config.h.in: Regenerate. | |
2014 | ||
953ff289 DN |
2015 | 2006-01-17 Jakub Jelinek <jakub@redhat.com> |
2016 | ||
2017 | PR fortran/25219 | |
2018 | * testsuite/libgomp.fortran/pr25219.f90: New test. | |
2019 | ||
2020 | 2005-12-05 Uros Bizjak <uros@kss-loka.si> | |
2021 | ||
2022 | * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c, | |
2023 | testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c, | |
2024 | testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C, | |
2025 | testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C, | |
2026 | testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C, | |
2027 | testsuite/libgomp.fortran/threadprivate1.f90, | |
2028 | testsuite/libgomp.fortran/threadprivate2.f90, | |
2029 | testsuite/libgomp.fortran/threadprivate3.f90, | |
2030 | testsuite/libgomp.fortran/appendix-a/a.22.7.f9, | |
2031 | testsuite/libgomp.fortran/appendix-a/a.22.8.f9, | |
2032 | testsuite/libgomp.fortran/omp_parse3.f90: Change required | |
2033 | effective-target to TLS runtime. | |
2034 | ||
2035 | * testsuite/libgomp.fortran/pr25162.f: Require | |
2036 | effective-target TLS runtime. | |
2037 | ||
2038 | 2005-12-01 Jakub Jelinek <jakub@redhat.com> | |
2039 | ||
2040 | * testsuite/libgomp.fortran/nestedfn2.f90: New test. | |
2041 | * testsuite/libgomp.c/nestedfn-3.c: New test. | |
2042 | ||
2043 | 2005-11-30 Jakub Jelinek <jakub@redhat.com> | |
2044 | ||
2045 | PR fortran/25162 | |
2046 | * testsuite/libgomp.fortran/pr25162.f: New test. | |
2047 | ||
2048 | 2005-11-28 Jakub Jelinek <jakub@redhat.com> | |
2049 | ||
2050 | * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to | |
2051 | CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed. | |
2052 | ||
2053 | 2005-11-25 Jakub Jelinek <jakub@redhat.com> | |
2054 | ||
2055 | * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c, | |
2056 | libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in, | |
2057 | omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c, | |
2058 | single.c, team.c, work.c, config/linux/alpha/futex.h, | |
2059 | config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h, | |
2060 | config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h, | |
2061 | config/linux/powerpc/futex.h, config/linux/s390/futex.h, | |
2062 | config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h, | |
2063 | config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h, | |
2064 | config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c, | |
2065 | config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update | |
2066 | FSF address. | |
2067 | ||
2068 | 2005-11-18 Jakub Jelinek <jakub@redhat.com> | |
2069 | ||
2070 | * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS | |
2071 | to nodist_noinst_HEADERS. | |
2072 | * Makefile.in: Rebuilt. | |
2073 | ||
2074 | * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct, | |
2075 | add integer count field. | |
2076 | * config/posix/lock.c (omp_destroy_nest_lock): Adjust for | |
2077 | omp_nest_lock_t type change. | |
2078 | (omp_init_nest_lock): Likewise. Initialize count to 0. | |
2079 | (omp_set_nest_lock): Adjust for omp_nest_lock_t type change. | |
2080 | Increment count. | |
2081 | (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change. | |
2082 | Decrement count. | |
2083 | (omp_test_nest_lock): Adjust for omp_nest_lock_t type change. | |
2084 | Increment count if successful and return the new nesting level. | |
2085 | * config/linux/lock.c (omp_test_nest_lock): Return new nesting level. | |
2086 | * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type. | |
2087 | * testsuite/libgomp.c/lib-1.c: New test. | |
2088 | * testsuite/libgomp.fortran/lib1.f90: New test. | |
2089 | * testsuite/libgomp.fortran/lib2.f: New test. | |
2090 | * testsuite/libgomp.fortran/lib3.f: New test. | |
2091 | ||
2092 | 2005-11-17 Richard Henderson <rth@redhat.com> | |
2093 | ||
2094 | PR 24845 | |
2095 | * Makefile.am (nodist_toolexeclib_HEADERS): New. | |
2096 | * configure.ac (link_gomp): New. Substitute it. | |
2097 | (AC_CONFIG_FILES): Add libgomp.spec. | |
2098 | * libgomp.spec.in: New file. | |
2099 | * Makefile.in, testsuite/Makefile.in, configure: Rebuild. | |
2100 | * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags. | |
2101 | ||
2102 | 2005-11-18 Jakub Jelinek <jakub@redhat.com> | |
2103 | ||
2104 | * testsuite/libgomp.fortran/reduction1.f90: Adjust for | |
2105 | reduction(-:var) behaving the same as reduction(+:var). | |
2106 | * testsuite/libgomp.c/reduction-4.c: New test. | |
2107 | ||
2108 | 2005-11-15 Uros Bizjak <uros@kss-loka.si> | |
2109 | ||
2110 | * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c, | |
2111 | testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c, | |
2112 | testsuite/libgomp.c/copyin-3.c, | |
2113 | testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C, | |
2114 | testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C, | |
2115 | testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C, | |
2116 | testsuite/libgomp.c++/pr24455.C, | |
2117 | testsuite/libgomp.fortran/threadprivate1.f90, | |
2118 | testsuite/libgomp.fortran/threadprivate2.f90, | |
2119 | testsuite/libgomp.fortran/threadprivate3.f90, | |
2120 | testsuite/libgomp.fortran/appendix-a/a.22.7.f9, | |
2121 | testsuite/libgomp.fortran/appendix-a/a.22.8.f9, | |
2122 | testsuite/libgomp.fortran/omp_parse3.f90: Require | |
2123 | effective-target TLS. | |
2124 | ||
2125 | 2005-11-14 Diego Novillo <dnovillo@redhat.com> | |
2126 | ||
2127 | * HEADER: Remove. | |
2128 | ||
2129 | 2005-11-13 Jakub Jelinek <jakub@redhat.com> | |
2130 | ||
2131 | PR libgomp/24797 | |
2132 | * team.c (initialize_team): Pass NULL rather than free as | |
2133 | pthread_key_create destructor. Initialize thread specific data | |
2134 | pointer in initial thread to a static local variable rather than | |
2135 | malloced memory. | |
2136 | ||
2137 | 2005-11-11 Uros Bizjak <uros@kss-loka.si> | |
2138 | ||
2139 | * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append | |
2140 | its location to ld_library_path. | |
2141 | ||
2142 | 2005-11-10 Diego Novillo <dnovillo@redhat.com> | |
2143 | ||
2144 | * testsuite/libgomp.c/c.exp: Rename from dg.exp. | |
2145 | ||
2146 | 2005-11-10 Diego Novillo <dnovillo@redhat.com> | |
2147 | ||
2148 | * testsuite/libgomp.c: Rename from libgomp.dg. | |
2149 | ||
2150 | 2005-11-09 Diego Novillo <dnovillo@redhat.com> | |
2151 | ||
2152 | * testsuite/libgomp.c++/pr24455.C: Add copyin clause for | |
2153 | threadprivate variable 'i'. | |
2154 | ||
2155 | 2005-11-09 Jakub Jelinek <jakub@redhat.com> | |
2156 | ||
2157 | * config/linux/s390/futex.h: New file. | |
2158 | * configure.tgt: Use it. | |
2159 | ||
2160 | * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization | |
2161 | before the parallel. | |
2162 | ||
2163 | 2005-11-08 Jakub Jelinek <jakub@redhat.com> | |
2164 | ||
2165 | PR c++/24734 | |
2166 | * testsuite/libgomp.c++/master-1.C: New test. | |
2167 | ||
2168 | 2005-11-07 Jakub Jelinek <jakub@redhat.com> | |
2169 | ||
2170 | * testsuite/libgomp.dg/copyin-3.c: New test. | |
2171 | ||
2172 | 2005-11-07 Jakub Jelinek <jakub@redhat.com> | |
2173 | ||
2174 | * testsuite/libgomp.fortran/retval1.f90: New test. | |
2175 | * testsuite/libgomp.fortran/vla7.f90: New test. | |
2176 | ||
2177 | 2005-11-06 Jakub Jelinek <jakub@redhat.com> | |
2178 | ||
2179 | * testsuite/libgomp.fortran/vla2.f90: New test. | |
2180 | * testsuite/libgomp.fortran/vla3.f90: New test. | |
2181 | * testsuite/libgomp.fortran/vla4.f90: New test. | |
2182 | * testsuite/libgomp.fortran/vla5.f90: New test. | |
2183 | * testsuite/libgomp.fortran/vla6.f90: New test. | |
2184 | ||
2185 | 2005-11-01 Jakub Jelinek <jakub@redhat.com> | |
2186 | ||
2187 | * config/linux/sparc/futex.h: New file. | |
2188 | * configure.tgt: Use it. | |
2189 | * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing. | |
2190 | ||
2191 | * critical.c: Include stdlib.h. | |
2192 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about | |
2193 | ignoring return value. | |
2194 | * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after | |
2195 | LIBGOMP_CHECK_SYNC_BUILTINS check. | |
2196 | * configure: Rebuilt. | |
2197 | ||
2198 | 2005-10-31 Jakub Jelinek <jakub@redhat.com> | |
2199 | ||
2200 | * testsuite/libgomp.fortran/vla1.f90: New test. | |
2201 | ||
2202 | 2005-10-31 Richard Henderson <rth@redhat.com> | |
2203 | ||
2204 | * testsuite/libgomp.fortran/character2.f90: Fix race condition | |
2205 | setting 's' in different threads. | |
2206 | ||
2207 | 2005-10-31 Jakub Jelinek <jakub@redhat.com> | |
2208 | ||
2209 | * libgomp.h (attribute_hidden, ialias): Define. | |
2210 | * config/posix/proc.c (omp_get_num_procs): Add ialias. | |
2211 | * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise. | |
2212 | * config/posix/lock.c (omp_init_lock, omp_init_nest_lock, | |
2213 | omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock, | |
2214 | omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock, | |
2215 | omp_test_lock, omp_test_nest_lock): Likewise. | |
2216 | * config/linux/lock.c (omp_init_lock, omp_init_nest_lock, | |
2217 | omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock, | |
2218 | omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock, | |
2219 | omp_test_lock, omp_test_nest_lock): Likewise. | |
2220 | * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads, | |
2221 | omp_get_dynamic, omp_get_nested): Likewise. | |
2222 | * parallel.c (omp_get_num_threads, omp_get_max_threads, | |
2223 | omp_get_thread_num, omp_in_parallel): Likewise. | |
2224 | * fortran.c (ialias_redirect): Define. | |
2225 | (omp_init_lock, omp_init_nest_lock, omp_destroy_lock, | |
2226 | omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock, | |
2227 | omp_unset_lock, omp_unset_nest_lock, omp_test_lock, | |
2228 | omp_test_nest_lock, omp_set_dynamic, omp_set_nested, | |
2229 | omp_set_num_threads, omp_get_dynamic, omp_get_nested, | |
2230 | omp_in_parallel, omp_get_max_threads, omp_get_num_procs, | |
2231 | omp_get_num_threads, omp_get_thread_num, omp_get_wtick, | |
2232 | omp_get_wtime): Add ialias_redirect. | |
2233 | ||
2234 | 2005-10-30 Jakub Jelinek <jakub@redhat.com> | |
2235 | ||
2236 | * fortran.c: Include stdlib.h. | |
2237 | ||
2238 | 2005-10-29 Jakub Jelinek <jakub@redhat.com> | |
2239 | ||
2240 | * Makefile.am (env.o, env.lo): Depend on libgomp_f.h. | |
2241 | * Makefile.in: Regenerated. | |
2242 | ||
2243 | 2005-10-28 Jakub Jelinek <jakub@redhat.com> | |
2244 | ||
2245 | * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE. | |
2246 | * libgomp_f.h.in (omp_check_defines): New function. | |
2247 | * env.c: Include libgomp_f.h. | |
2248 | (initialize_env): Call omp_check_defines. | |
2249 | ||
2250 | * testsuite/libgomp.dg/copyin-2.c: New test. | |
2251 | * testsuite/libgomp.c++/copyin-2.C: New test. | |
2252 | * testsuite/libgomp.fortran/threadprivate3.f90: New test. | |
2253 | ||
2254 | * testsuite/libgomp.fortran/threadprivate2.f90: New test. | |
2255 | * testsuite/libgomp.fortran/sharing2.f90: New test. | |
2256 | ||
2257 | * testsuite/libgomp.dg/copyin-1.c: New test. | |
2258 | * testsuite/libgomp.c++/copyin-1.C: New test. | |
2259 | ||
2260 | 2005-10-26 Jakub Jelinek <jakub@redhat.com> | |
2261 | ||
2262 | * testsuite/libgomp.fortran/crayptr1.f90: New test. | |
2263 | ||
2264 | * testsuite/libgomp.fortran/workshare1.f90: New test. | |
2265 | ||
2266 | * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile | |
2267 | only test. | |
2268 | * libgomp.fortran/sharing1.f90: New test. | |
2269 | ||
2270 | 2005-10-24 Jakub Jelinek <jakub@redhat.com> | |
2271 | ||
2272 | PR c++/24502 | |
2273 | * testsuite/libgomp.c++/loop-7.C: New test. | |
2274 | ||
2275 | * testsuite/libgomp.dg/nestedfn-2.c: New test. | |
2276 | ||
2277 | * testsuite/libgomp.dg/nestedfn-1.c: New test. | |
2278 | * testsuite/libgomp.fortran/reduction6.f90: New test. | |
2279 | * testsuite/libgomp.fortran/nestedfn1.f90: New test. | |
2280 | ||
2281 | 2005-10-23 Richard Henderson <rth@redhat.com> | |
2282 | ||
2283 | * testsuite/libgomp.c++/ctor-1.C: New. | |
2284 | * testsuite/libgomp.c++/ctor-2.C: New. | |
2285 | * testsuite/libgomp.c++/ctor-3.C: New. | |
2286 | * testsuite/libgomp.c++/ctor-4.C: New. | |
2287 | * testsuite/libgomp.c++/ctor-5.C: New. | |
2288 | * testsuite/libgomp.c++/ctor-6.C: New. | |
2289 | * testsuite/libgomp.c++/ctor-7.C: New. | |
2290 | * testsuite/libgomp.c++/ctor-8.C: New. | |
2291 | * testsuite/libgomp.c++/ctor-9.C: New. | |
2292 | ||
2293 | 2005-10-21 Diego Novillo <dnovillo@redhat.com> | |
2294 | ||
2295 | PR 24455 | |
2296 | * testsuite/libgomp.c++/pr24455-1.C: New test. | |
2297 | * testsuite/libgomp.c++/pr24455.C: New test. | |
2298 | * testsuite/libgomp.dg/pr24455-1.c: New test. | |
2299 | * testsuite/libgomp.dg/pr24455.c: New test. | |
2300 | ||
2301 | 2005-10-20 Richard Henderson <rth@redhat.com> | |
2302 | ||
2303 | * testsuite/libgomp.c++/loop-6.C: New. | |
2304 | * testsuite/libgomp.dg/loop-3.c: New. | |
2305 | ||
2306 | 2005-10-20 Jakub Jelinek <jakub@redhat.com> | |
2307 | ||
2308 | * testsuite/libgomp.fortran/jacobi.f: Don't make i and j | |
2309 | explicitly private. | |
2310 | * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i | |
2311 | explicitly shared. | |
2312 | ||
2313 | 2005-10-19 Diego Novillo <dnovillo@redhat.com> | |
2314 | ||
2315 | * testsuite/libgomp.fortran/jacobi.f: New test. | |
2316 | ||
2317 | 2005-10-19 Richard Henderson <rth@redhat.com> | |
2318 | ||
2319 | * configure.tgt (i?86-linux): Default to with_arch instead of | |
2320 | CFLAGS. Add -mtune to match target_cpu. | |
2321 | (x86_64-linux): Tune to i686. | |
2322 | ||
2323 | * fortran.c (omp_test_nest_lock_): Fix typo. | |
2324 | ||
2325 | 2005-10-19 Jakub Jelinek <jakub@redhat.com> | |
2326 | ||
2327 | * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next, | |
2328 | gomp_ordered_sync): Do nothing if team->nthreads == 1. | |
2329 | * testsuite/libgomp.dg/ordered-3.c: New test. | |
2330 | ||
2331 | * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort. | |
2332 | Remove volatile keyword. | |
2333 | ||
2334 | * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables | |
2335 | in COMMON block to avoid warnings on 64-bit targets. | |
2336 | ||
2337 | 2005-10-18 Diego Novillo <dnovillo@redhat.com> | |
2338 | ||
2339 | * testsuite/libgomp.dg/shared-3.c: New test. | |
2340 | ||
2341 | 2005-10-18 Jakub Jelinek <jakub@redhat.com> | |
2342 | ||
2343 | * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed. | |
2344 | * testsuite/libgomp.fortran/reduction5.f90: New test. | |
2345 | ||
2346 | 2005-10-18 Jakub Jelinek <jakub@redhat.com> | |
2347 | ||
2348 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to | |
2349 | dg-options. | |
2350 | * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise. Enable | |
2351 | flush loop now that __sync_synchronize has proper memory barrier. | |
2352 | * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo. | |
2353 | Add -ffixed-form to dg-options. | |
2354 | ||
2355 | 2005-10-17 Diego Novillo <dnovillo@redhat.com> | |
2356 | ||
2357 | * testsuite/libgomp.fortran/fortran.exp: Also gather tests | |
2358 | from subdirectories. | |
2359 | * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test. | |
2360 | * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test. | |
2361 | * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test. | |
2362 | * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test. | |
2363 | * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test. | |
2364 | * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test. | |
2365 | * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test. | |
2366 | * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test. | |
2367 | * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test. | |
2368 | * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test. | |
2369 | * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test. | |
2370 | * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test. | |
2371 | * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test. | |
2372 | * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test. | |
2373 | * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test. | |
2374 | * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test. | |
2375 | * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test. | |
2376 | * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test. | |
2377 | * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test. | |
2378 | * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test. | |
2379 | * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test. | |
2380 | * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test. | |
2381 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test. | |
2382 | * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test. | |
2383 | * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test. | |
2384 | ||
2385 | 2005-10-17 Jakub Jelinek <jakub@redhat.com> | |
2386 | ||
2387 | * testsuite/libgomp.dg/dg.exp: Only unset lang_* if | |
2388 | lang_library_path exists. Use find instead of glob to gather tests. | |
2389 | * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed. | |
2390 | ||
2391 | 2005-10-17 Diego Novillo <dnovillo@redhat.com> | |
2392 | ||
2393 | * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test. | |
2394 | * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test. | |
2395 | * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test. | |
2396 | * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test. | |
2397 | * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test. | |
2398 | * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test. | |
2399 | * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test. | |
2400 | * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test. | |
2401 | * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test. | |
2402 | * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test. | |
2403 | * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test. | |
2404 | * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test. | |
2405 | * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file. | |
2406 | ||
2407 | 2005-10-15 Jakub Jelinek <jakub@redhat.com> | |
2408 | ||
2409 | * testsuite/libgomp.dg/vla-1.c: New test. | |
2410 | ||
2411 | * testsuite/libgomp.fortran/reference2.f90: New test. | |
2412 | ||
2413 | * testsuite/libgomp.fortran/character2.f90: Remove explicit | |
2414 | declaration of omp_get_thread_num. | |
2415 | * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. Add | |
2416 | use omp_lib. | |
2417 | ||
2418 | * testsuite/libgomp.fortran/reduction1.f90: New test. | |
2419 | * testsuite/libgomp.fortran/reduction2.f90: New test. | |
2420 | * testsuite/libgomp.fortran/reduction3.f90: New test. | |
2421 | * testsuite/libgomp.fortran/reduction4.f90: New test. | |
2422 | ||
2423 | 2005-10-13 Richard Henderson <rth@redhat.com> | |
2424 | ||
2425 | * Makefile.am (libgomp_la_SOURCES): Add bar.c. | |
2426 | * Makefile.in: Regenerate. | |
2427 | * barrier.c (GOMP_barrier): Use gomp_barrier_wait. | |
2428 | * libgomp.h: Include bar.h. | |
2429 | (struct gomp_barrier): Remove. | |
2430 | (struct gomp_team): Add barrier. Replace master_barrier with | |
2431 | master_release. Replace threads with ordered_release. | |
2432 | (struct gomp_thread): Replace barrier with release. | |
2433 | * ordered.c (gomp_ordered_first): Update for ordered_release change. | |
2434 | (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init, | |
2435 | gomp_ordered_static_next, gomp_ordered_sync): Likewise. | |
2436 | * single.c (GOMP_single_copy_start): Use gomp_barrier_wait. | |
2437 | (GOMP_single_copy_end): Likewise. | |
2438 | * team.c (gomp_threads_dock): New. | |
2439 | (gomp_barrier_init, gomp_barrier_destroy): Remove. | |
2440 | (gomp_thread_start): Use gomp_barrier_wait. | |
2441 | (new_team, free_team): Update for gomp_team changes. | |
2442 | (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit. | |
2443 | (gomp_team_end): Use gomp_barrier_wait. | |
2444 | (initialize_team): Update for gomp_thread changes. | |
2445 | * work.c (gomp_work_share_end): Use gomp_barrier_wait_start. | |
2446 | (gomp_work_share_end_nowait): Use atomic ops when available. | |
2447 | * config/linux/bar.c, config/linux/bar.h: New files. | |
2448 | * config/posix/bar.c, config/posix/bar.h: New files. | |
2449 | ||
2450 | 2005-10-13 Jakub Jelinek <jakub@redhat.com> | |
2451 | ||
2452 | * single.c (GOMP_single_copy_end): Don't segfault if team is NULL. | |
2453 | * testsuite/libgomp.dg/single-2.c: New test. | |
2454 | ||
2455 | * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file, | |
2456 | lang_link_flags): Unset, so that they aren't inherited from previously | |
2457 | sourced *.exp. | |
2458 | ||
2459 | * testsuite/libgomp.fortran/threadprivate1.f90: New test. | |
2460 | ||
2461 | 2005-10-12 Richard Henderson <rth@redhat.com> | |
2462 | ||
2463 | * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel. | |
2464 | (libgomp_init): Use lang_test_file, lang_library_path, and | |
2465 | lang_link_flags, set by the subdirectory files. Add -fopenmp here. | |
2466 | ||
2467 | * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New. | |
2468 | (lang_test_file, lang_link_flags): New. | |
2469 | (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove. | |
2470 | ||
2471 | * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C, | |
2472 | testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C, | |
2473 | testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C, | |
2474 | testsuite/libgomp.c++/parallel-1.C, | |
2475 | testsuite/libgomp.c++/reduction-1.C, | |
2476 | testsuite/libgomp.c++/reduction-2.C, | |
2477 | testsuite/libgomp.c++/reduction-3.C, | |
2478 | testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C, | |
2479 | testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C, | |
2480 | testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C: | |
2481 | New files, largely cribbed from the C testsuite. | |
2482 | ||
2483 | 2005-10-12 Jakub Jelinek <jakub@redhat.com> | |
2484 | ||
2485 | * testsuite/libgomp.fortran/character1.f90: New test. | |
2486 | * testsuite/libgomp.fortran/character2.f90: New test. | |
2487 | ||
2488 | * testsuite/libgomp.dg/nested-1.c: New test. | |
2489 | * testsuite/libgomp.dg/nested-2.c: New test. | |
2490 | * testsuite/libgomp.fortran/do1.f90: New test. | |
2491 | * testsuite/libgomp.fortran/do2.f90: New test. | |
2492 | ||
2493 | * testsuite/libgomp.fortran/reference1.f90: New test. | |
2494 | ||
2495 | 2005-10-11 Jakub Jelinek <jakub@redhat.com> | |
2496 | ||
2497 | * testsuite/libgomp.dg/reduction-1.c: New test. | |
2498 | * testsuite/libgomp.dg/reduction-2.c: New test. | |
2499 | * testsuite/libgomp.dg/reduction-3.c: New test. | |
2500 | ||
2501 | 2005-10-10 Jakub Jelinek <jakub@redhat.com> | |
2502 | ||
2503 | * testsuite/libgomp.dg/atomic-1.c: New test. | |
2504 | * testsuite/libgomp.dg/atomic-2.c: New test. | |
2505 | ||
2506 | 2005-10-09 Richard Henderson <rth@redhat.com> | |
2507 | ||
2508 | * critical.c (atomic_lock): New. | |
2509 | (initialize_critical): Initialize it. | |
2510 | (GOMP_atomic_start, GOMP_atomic_end): New. | |
2511 | * libgomp.map: Export them. | |
2512 | * libgomp_g.h: Declare them. | |
2513 | ||
2514 | * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite. | |
2515 | ||
2516 | 2005-10-02 Richard Henderson <rth@redhat.com> | |
2517 | ||
2518 | * configure.ac: Move save_CFLAGS hack earlier. Append -Wall/-Werror | |
2519 | to XCFLAGS instead of CFLAGS. | |
2520 | ||
2521 | 2005-09-30 Richard Henderson <rth@redhat.com> | |
2522 | ||
2523 | * configure.ac: Determine whether -pthread or -lpthread is needed. | |
2524 | * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread. | |
2525 | * Makefine.in, configure: Rebuild. | |
2526 | ||
2527 | 2005-09-28 Richard Henderson <rth@redhat.com> | |
2528 | ||
2529 | * testsuite/libgomp.dg/omp-loop03.c: Fix return code. | |
2530 | * testsuite/libgomp.dg/omp-single-3.c: New test. | |
2531 | ||
2532 | 2005-09-28 Diego Novillo <dnovillo@redhat.com> | |
2533 | ||
2534 | * testsuite/libgomp.dg/omp-single-2.c: New test. | |
2535 | * testsuite/libgomp.dg/shared-2.c: Fix return code. | |
2536 | ||
2537 | 2005-09-27 Richard Henderson <rth@redhat.com> | |
2538 | ||
2539 | * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier. | |
2540 | * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule. | |
2541 | ||
2542 | 2005-09-27 Jakub Jelinek <jakub@redhat.com> | |
2543 | ||
2544 | * testsuite/libgomp.dg/omp-loop03.c: New test. | |
2545 | ||
2546 | 2005-09-27 Diego Novillo <dnovillo@redhat.com> | |
2547 | ||
2548 | * testsuite/libgomp.dg/omp-parallel-for.c: New test. | |
2549 | ||
2550 | 2005-09-27 Diego Novillo <dnovillo@redhat.com> | |
2551 | ||
2552 | * testsuite/libgomp.dg/omp-single-1.c: New test. | |
2553 | * testsuite/libgomp.dg/shared-1.c: Return 0. | |
2554 | Add prototype for abort. | |
2555 | * testsuite/libgomp.dg/shared-2.c: Likewise. | |
2556 | ||
2557 | 2005-09-26 Jakub Jelinek <jakub@redhat.com> | |
2558 | ||
2559 | * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming | |
2560 | constructs. | |
2561 | ||
2562 | 2005-09-26 Diego Novillo <dnovillo@redhat.com> | |
2563 | ||
2564 | * testsuite/libgomp.dg/shared-1.c: New test. | |
2565 | * testsuite/libgomp.dg/shared-2.c: New test. | |
2566 | ||
2567 | 2005-09-24 Richard Henderson <rth@redhat.com> | |
2568 | ||
2569 | * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error. | |
2570 | ||
2571 | 2005-09-24 Richard Henderson <rth@redhat.com> | |
2572 | ||
2573 | * iter.c (gomp_iter_static_next): Round up when computing number | |
2574 | of iterations. Don't bother distributing a remainder equally. | |
2575 | ||
2576 | * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main. | |
2577 | Don't call srand. Zero b before testing. | |
2578 | (main): New. | |
2579 | ||
2580 | 2005-09-24 Jakub Jelinek <jakub@redhat.com> | |
2581 | ||
2582 | * testsuite/libgomp.fortran/omp_atomic1.f90: New test. | |
2583 | * testsuite/libgomp.fortran/omp_atomic2.f90: New test. | |
2584 | ||
2585 | 2005-09-23 Jakub Jelinek <jakub@redhat.com> | |
2586 | ||
2587 | * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do | |
2588 | without !$omp end do, followed immediately by subroutine end. | |
2589 | ||
2590 | 2005-09-23 Diego Novillo <dnovillo@redhat.com> | |
2591 | ||
2592 | * testsuite/libgomp.dg/omp-parallel-if.c: New test. | |
2593 | ||
2594 | 2005-09-22 Richard Henderson <rth@redhat.com> | |
2595 | ||
2596 | * critical.c (GOMP_critical_name_start): Change argument to void**. | |
2597 | Reuse the pointer space if the mutex fits. | |
2598 | (GOMP_critical_name_end): Likewise. | |
2599 | (initialize_critical): Don't define if GOMP_MUTEX_INIT_0. | |
2600 | * libgomp_g.h (GOMP_critical_name_start): Update decl. | |
2601 | (GOMP_critical_name_end): Likewise. | |
2602 | * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New. | |
2603 | * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New. | |
2604 | ||
2605 | 2005-09-20 Richard Henderson <rth@redhat.com> | |
2606 | ||
2607 | * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New. | |
2608 | (create_lock_lock): New. | |
2609 | (initialize_critical): Initialize it. | |
2610 | * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New. | |
2611 | * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare. | |
2612 | ||
2613 | 2005-09-20 Diego Novillo <dnovillo@redhat.com> | |
2614 | ||
2615 | * testsuite/libgom.dg/omp-loop01.c: Include stdio.h. | |
2616 | ||
2617 | 2005-09-20 Diego Novillo <dnovillo@redhat.com> | |
2618 | ||
2619 | * testsuite/libgomp.dg/omp-loop01.c: New test. | |
2620 | * testsuite/libgomp.dg/omp-loop02.c: New test. | |
2621 | ||
2622 | 2005-09-20 Jakub Jelinek <jakub@redhat.com> | |
2623 | ||
2624 | * configure.ac (AC_PROG_FC): Add. | |
2625 | (USE_FORTRAN): New automake conditional. | |
2626 | * configure: Rebuilt. | |
2627 | * Makefile.am (libgomp_la_SOURCES): Add fortran.c. | |
2628 | (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h. | |
2629 | If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod. | |
2630 | Add rules to build them. | |
2631 | * Makefile.in: Rebuilt. | |
2632 | * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and | |
2633 | OMP_NEST_LOCK_KIND. | |
2634 | * libgomp.map: Add Fortran wrappers. | |
2635 | * libgomp_f.h.in: New file. | |
2636 | * omp_lib.h.in: New file. | |
2637 | * omp_lib.f90.in: New file. | |
2638 | * fortran.c: New file. | |
2639 | * testsuite/lib/libgomp-dg.exp: Load a few more .exp files. | |
2640 | Append libgfortran directory to LD_LIBRARY_PATH if it exists. | |
2641 | Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if | |
2642 | libgfortran has been built. | |
2643 | * testsuite/libgomp.fortran/fortran.exp: New file. | |
2644 | * testsuite/libgomp.fortran/omp_cond1.f: New test. | |
2645 | * testsuite/libgomp.fortran/omp_cond2.f: New test. | |
2646 | * testsuite/libgomp.fortran/omp_cond3.F90: New test. | |
2647 | * testsuite/libgomp.fortran/omp_cond4.F90: New test. | |
2648 | * testsuite/libgomp.fortran/omp_hello.f: New test. | |
2649 | * testsuite/libgomp.fortran/omp_orphan.f: New test. | |
2650 | * testsuite/libgomp.fortran/omp_parse1.f90: New test. | |
2651 | * testsuite/libgomp.fortran/omp_parse2.f90: New test. | |
2652 | * testsuite/libgomp.fortran/omp_parse3.f90: New test. | |
2653 | * testsuite/libgomp.fortran/omp_parse4.f90: New test. | |
2654 | * testsuite/libgomp.fortran/omp_reduction.f: New test. | |
2655 | * testsuite/libgomp.fortran/omp_workshare1.f: New test. | |
2656 | * testsuite/libgomp.fortran/omp_workshare2.f: New test. | |
2657 | ||
2658 | 2005-08-30 Richard Henderson <rth@redhat.com> | |
2659 | ||
2660 | * loop.c (GOMP_loop_static_start): Provide fallback wrapper | |
2661 | function for when aliases are not usable. | |
2662 | (GOMP_loop_dynamic_start, GOMP_loop_guided_start, | |
2663 | GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start, | |
2664 | GOMP_loop_ordered_guided_start, GOMP_loop_static_next, | |
2665 | GOMP_loop_dynamic_next, GOMP_loop_guided_next, | |
2666 | GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next, | |
2667 | GOMP_loop_ordered_guided_next): Likewise. | |
2668 | * ordered.c (GOMP_ordered_start): Likewise. | |
2669 | ||
2670 | 2005-08-01 Diego Novillo <dnovillo@redhat.com> | |
2671 | ||
2672 | * testsuite/libgomp.dg/dg.exp: Use -O2 for now. | |
2673 | * testsuite/libgomp.dg/omp_hello.c: Fix return code | |
2674 | * testsuite/libgomp.dg/omp_matvec.c: Likewise. | |
2675 | * testsuite/libgomp.dg/omp_orphan.c: Likewise | |
2676 | * testsuite/libgomp.dg/omp_reduction.c: Likewise | |
2677 | * testsuite/libgomp.dg/omp_workshare1.c: Likewise | |
2678 | * testsuite/libgomp.dg/omp_workshare2.c: Likewise | |
2679 | * testsuite/libgomp.dg/omp_workshare3.c: Likewise | |
2680 | * testsuite/libgomp.dg/omp_workshare4.c: Likewise | |
2681 | ||
2682 | 2005-07-07 Eric Christopher <echristo@redhat.com> | |
2683 | Diego Novillo <dnovillo@redhat.com> | |
2684 | ||
2685 | * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS. | |
2686 | * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix | |
2687 | up code. | |
2688 | * testsuite/libgomp.dg/omp_matvec.c: Ditto. | |
2689 | * testsuite/libgomp.dg/omp_orphan.c: Ditto. | |
2690 | * testsuite/libgomp.dg/omp_reduction.c: Ditto. | |
2691 | * testsuite/libgomp.dg/omp_workshare1.c: Ditto. | |
2692 | * testsuite/libgomp.dg/omp_workshare2.c: Ditto. | |
2693 | * testsuite/libgomp.dg/omp_workshare3.c: Ditto. | |
2694 | * testsuite/libgomp.dg/omp_workshare4.c: Ditto. | |
2695 | ||
2696 | 2005-06-13 Diego Novillo <dnovillo@redhat.com> | |
2697 | ||
2698 | * TOPLEVEL.patch: Remove. | |
2699 | ||
2700 | 2005-05-16 Richard Henderson <rth@redhat.com> | |
2701 | ||
2702 | * configure.ac: Test for clock_gettime. | |
2703 | * config.h.in, configure: Rebuild. | |
2704 | * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern. | |
2705 | (omp_get_wtime): Use clock_gettime if available. | |
2706 | (omp_get_wtick): Use clock_getres if available. | |
2707 | ||
2708 | 2005-05-11 Richard Henderson <rth@redhat.com> | |
2709 | ||
2710 | * config/linux/ia64/futex.h: New file. | |
2711 | * configure.tgt: Use it. | |
2712 | ||
2713 | * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline. | |
2714 | ||
2715 | 2005-05-07 Richard Henderson <rth@redhat.com> | |
2716 | ||
2717 | * config/linux/powerpc/futex.h: New file. | |
2718 | * configure.tgt: Use it. | |
2719 | ||
2720 | * config/linux/i486/futex.h: Merge ... | |
2721 | * config/linux/x86_64/futex.h: ... into ... | |
2722 | * config/linux/x86/futex.h: ... here. | |
2723 | * configure.tgt: Update to match. | |
2724 | ||
2725 | 2005-05-06 Richard Henderson <rth@redhat.com> | |
2726 | ||
2727 | * config/linux/alpha/futex.h: Conditionally define SYS_futex. | |
2728 | * config/linux/i486/futex.h: Likewise. | |
2729 | * config/linux/x86_64/futex.h: Likewise. | |
2730 | ||
2731 | * config/linux/lock.c: New file. | |
2732 | * config/linux/omp-lock.h: New file. | |
2733 | ||
2734 | * critical.c, env.h: Don't include omp.h | |
2735 | * config/posix/lock.c: Include libgomp.h instead of omp.h. | |
2736 | * config/posix/time.c: Likewise. | |
2737 | * config/posix/omp-lock.h: New file. | |
2738 | * libgomp.h: Include omp-lock.h and omp.h. | |
2739 | * Makefile.am (nodist_include_HEADERS): New. | |
2740 | (omp.h): New rule. | |
2741 | * configure.ac (PERL): New. | |
2742 | * mkomp_h.pl: New file. | |
2743 | * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t | |
2744 | with templates. | |
2745 | * Makefile.in, configure, testsuite/Makefile.in: Rebuild. | |
2746 | ||
2747 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into | |
2748 | build directory. Re-add -march=i486 hack. | |
2749 | ||
2750 | * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove. | |
2751 | (libgomp_link_flags): Remove. | |
2752 | (libgomp_initialized): Remove. | |
2753 | (libgomp_init): Don't protect from reinitialization. Copy code | |
2754 | from libstdc++ for getting the multilib set correctly. | |
2755 | ||
2756 | 2005-05-05 Richard Henderson <rth@redhat.com> | |
2757 | ||
2758 | * config/linux/alpha/futex.h: New file. | |
2759 | * configure.tgt (alpha*-*-linux*): Use it. | |
2760 | ||
2761 | * config/posix/mutex.c: New file. | |
2762 | * config/posix/sem.c: Use libgomp.h. | |
2763 | ||
2764 | * configure.tgt (x86_64-linux): Also test CC for -m32. | |
2765 | * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage. | |
2766 | ||
a1daed2d | 2767 | * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add / |
953ff289 DN |
2768 | after $gccpath. |
2769 | ||
2770 | * Makefile.am (SUBDIRS): New. | |
2771 | (libgomp_la_LDFLAGS): Add -lpthread. | |
2772 | * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies. | |
2773 | * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild. | |
2774 | ||
2775 | * libgomp_g.h: New file. | |
2776 | * libgomp.h: Split out all public declarations to libgomp_g.h. | |
2777 | Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN. | |
2778 | * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN. | |
2779 | * config/linux/sem.h: Likewise. | |
2780 | * config/posix/sem.h: Likewise. | |
2781 | ||
2782 | * Makefile.am (AM_LDFLAGS): New. | |
2783 | (libgomp_version_script): Split out from ... | |
2784 | (libgomp_la_LDFLAGS): ... here. | |
2785 | (libgomp_version_info): New. | |
2786 | * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE. | |
2787 | (LIBGOMP_ENABLE): New. | |
2788 | (LIBGOMP_CHECK_LINKER_FEATURES): New. | |
2789 | (LIBGOMP_ENABLE_SYMVERS): New. | |
2790 | * configure.ac (AC_INIT): Version 1.0. | |
2791 | (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE. | |
2792 | (enable-linux-futex): Likewise. Rename from enable-futex. | |
2793 | (libtool_VERSION): New. | |
2794 | (LIBGOMP_ENABLE_SYMVERS): Use it. | |
2795 | * configure.tgt: Check with_gnu_ld wrt have_tls optimizations. | |
2796 | * Makefile.in, aclocal.m4, configure: Rebuild. | |
2797 | ||
2798 | * config/linux/mutex.c: Include libgomp.h instead of mutex.h. | |
2799 | (gomp_mutex_unlock_slow): Fix typo. | |
2800 | * config/linux/sem.c: Similarly. | |
2801 | (gomp_sem_post_slow): Fix typo. | |
2802 | * config/linux/sem.h (gomp_sem_post_slow): Fix typo. | |
2803 | * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code. | |
2804 | [__PIC__] (sys_futex0): Don't use tmp output in asm. | |
2805 | ||
2806 | * Makefile.am (AM_CFLAGS): Expand with XCFLAGS. | |
2807 | (libgomp_la_LDFLAGS): Add top_srcdir to path. | |
2808 | * acinclude.m4: Copy libtool.m4 stuff from libgfortran. | |
2809 | * configure.ac: Check for getloadavg. Substitute XCFLAGS and | |
2810 | XLDFLAGS. Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS. | |
2811 | * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and | |
2812 | LDFLAGS. Pull enable_futex check to top-level. | |
2813 | * libgomp.h: Fix sem.h and mutex.h includes. Define ATTRIBUTE_HIDDEN. | |
2814 | * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. | |
2815 | ||
2816 | First attempt at real configury. | |
2817 | * Makefile, config.h: Remove file. | |
2818 | * Makefile.am, Makefile.in: New file. | |
2819 | * acinclude.m4 aclocal.m4: New file. | |
2820 | * configure.ac, configure.tgt, configure: New file. | |
2821 | ||
2822 | * config/posix/lock.c: Rename from sys-lock.c. | |
2823 | * config/posix/mutex.h: Rename from sys-mutex.h. | |
2824 | * config/posix/sem.c: Rename from sys-sem.c. | |
2825 | * config/posix/sem.h: Rename from sys-sem.h. | |
2826 | * config/posix/proc.c: Rename from sys-proc.c. | |
2827 | * config/posix/time.c: Rename from sys-proc.c. | |
2828 | ||
2829 | * config/linux/mutex.c: New file. | |
2830 | * config/linux/mutex.h: New file. | |
2831 | * config/linux/sem.c: New file. | |
2832 | * config/linux/sem.h: New file. | |
2833 | * config/linux/i486/futex.h: New file. | |
2834 | * config/linux/x86_64/futex.h: New file. | |
2835 | ||
2836 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
2837 | ||
2838 | * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New. | |
2839 | * libgomp.h: Declare them. | |
2840 | * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start, | |
2841 | gomp_loop_dynamic_next, gomp_loop_guided_next): Use them. | |
2842 | ||
2843 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
2844 | ||
2845 | * libgomp-1 code drop | |
2846 | ||
2847 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
2848 | ||
2849 | * iter.c (gomp_iter_static_next): Return tri-state on 0. | |
2850 | * ordered.c (gomp_ordered_static_next): Remove not_last argument. | |
2851 | * libgomp.h (struct gomp_team_state): Make static_trip unsigned. | |
2852 | (gomp_iter_static_next): Update. | |
2853 | (gomp_ordered_static_next): Update. | |
2854 | * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next. | |
2855 | (gomp_loop_ordered_static_start): Likewise. Exit early for a | |
2856 | totally empty range. | |
2857 | (gomp_loop_ordered_static_next): Refine test for calling | |
2858 | gomp_ordered_static_next. | |
2859 | * testsuite/ordered-1.c: Add case for more threads than iterations. | |
2860 | ||
2861 | * iter.c (gomp_iter_runtime_next_locked): Remove. | |
2862 | * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start, | |
a1daed2d | 2863 | gomp_loop_guided_start, gomp_loop_ordered_static_start, |
953ff289 DN |
2864 | gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start, |
2865 | gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next, | |
2866 | gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next, | |
2867 | gomp_loop_ordered_guided_next): Downcase name, make static, add | |
2868 | an external alias with the old name. | |
2869 | (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start, | |
2870 | GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a | |
2871 | switch and call one of the above static functions. | |
2872 | * libgomp.h: Update. | |
2873 | ||
2874 | * work.c (gomp_work_share_start): Lock the mutex for !first too. | |
2875 | * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start, | |
2876 | GOMP_loop_guided_start, GOMP_loop_runtime_start, | |
2877 | GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start, | |
2878 | GOMP_loop_ordered_guided_start): Update to match. | |
2879 | * sections.c (GOMP_sections_start): Likewise. | |
2880 | * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise. | |
2881 | ||
2882 | * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next, | |
2883 | gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//. | |
2884 | Use bounds check instead of modulus. | |
2885 | (gomp_ordered_sync): Split out of GOMP_ordered_start. | |
2886 | (gomp_ordered_last): Don't sync with ordered_owner here. | |
2887 | (gomp_ordered_next): Likewise. | |
2888 | (gomp_ordered_static_loop_next): Likewise. | |
2889 | * loop.c, libgomp.h: Update to match. | |
2890 | ||
2891 | * libgomp.h (GOMP_barrier): Declare. | |
2892 | ||
2893 | * testsuite/barrier-1.c: New file. | |
2894 | * testsuite/critical-1.c: New file. | |
2895 | * testsuite/ordered-2.c: New file. | |
2896 | * testsuite/ordered-1.c: New file. | |
2897 | * testsuite/sections-1.c: New file. | |
2898 | * testsuite/single-1.c: New file. | |
2899 | * testsuite/Makefile (TESTS): Add them. | |
2900 | ||
2901 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
2902 | ||
2903 | * libgomp.h (struct gomp_work_share): Add ordered_owner. | |
2904 | * loop.c (GOMP_loop_static_start): If not the startup thread, | |
2905 | acquire the mutex to wait for initialization complete. | |
2906 | (GOMP_loop_ordered_static_start): Likewise. | |
2907 | (GOMP_loop_ordered_runtime_start): Likewise. | |
2908 | (GOMP_loop_ordered_static_first): Remove. | |
2909 | (GOMP_loop_ordered_dynamic_first): Remove. | |
2910 | (GOMP_loop_ordered_guided_first): Remove. | |
2911 | (GOMP_loop_ordered_runtime_first): Remove. | |
2912 | * ordered.c (gomp_ordered_loop_first): Post to own release when | |
2913 | we're the first thread. | |
2914 | (gomp_ordered_loop_last): Wait on release if not owner. | |
2915 | (gomp_ordered_loop_next): Likewise. | |
2916 | (gomp_ordered_static_loop_init): New. | |
2917 | (gomp_ordered_static_loop_next): Use ordered_owner. | |
2918 | (GOMP_ordered_start): Likewise. | |
2919 | * work.c (gomp_new_work_share): Initialize ordered_owner. | |
2920 | ||
2921 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
2922 | ||
2923 | * Makefile (OPT): New. | |
2924 | (CFLAGS): Use it. | |
2925 | ||
2926 | * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New. | |
2927 | * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New. | |
2928 | * libgomp.h, libgomp.map, NOTES: Update to match. | |
2929 | ||
2930 | * team.c (struct gomp_thread_start_data): Remove ts, fn, data. | |
2931 | Add initialized and thr members. | |
2932 | (gomp_thread_start): Pause when initially spawned to wait for | |
2933 | the whole team to be created. | |
2934 | (gomp_team_start): Release team members at the end. | |
2935 | ||
2936 | * testsuite/loop-1.c (N): New. Use it instead of hardcoded 100. | |
2937 | (f_foo_1): Use GOMP_loop_end. | |
2938 | (f_foo_2): Use GOMP_loop_end_nowait. | |
2939 | ||
2940 | * testsuite/loop-2.c: New file. | |
2941 | * testsuite/Makefile (TESTS): Add it. | |
2942 | ||
2943 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
2944 | ||
2945 | * iter.c (gomp_iter_static_next): Fix overflow check typo. | |
2946 | (gomp_iter_dynamic_next_locked): Fix overflow check thinko. | |
2947 | * team.c (new_team): Initialize oldest_live_gen to 1 if no | |
2948 | initial work_share. | |
2949 | ||
2950 | * testsuite/Makefile: New file. | |
2951 | * testsuite/loop-1.c: New file. | |
2952 | ||
2953 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
2954 | ||
2955 | Initial implementation and checkin. |