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