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