OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [libgomp/] [ChangeLog] - Blame information for rev 832

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
2007-10-07  Release Manager
2
 
3
        * GCC 4.2.2 released.
4
 
5
2007-07-19  Release Manager
6
 
7
        * GCC 4.2.1 released.
8
 
9
2007-07-02  Jakub Jelinek  
10
 
11
        PR libgomp/32468
12
        * sections.c (GOMP_parallel_sections_start): Only decrease
13
        number of threads to COUNT if dyn_var is true.
14
        * testsuite/libgomp.c/pr32468.c: New test.
15
 
16
2007-07-02  Rainer Orth  
17
 
18
        PR libgomp/26308
19
        * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
20
 
21
2007-06-21  Jakub Jelinek  
22
 
23
        PR middle-end/32362
24
        * testsuite/libgomp.c/pr32362-1.c: New test.
25
        * testsuite/libgomp.c/pr32362-2.c: New test.
26
        * testsuite/libgomp.c/pr32362-3.c: New test.
27
 
28
2007-05-13  Release Manager
29
 
30
        * GCC 4.2.0 released.
31
 
32
2007-03-18  Andreas Schwab  
33
 
34
        * acinclude.m4: Adjust regular expression for ld version
35
        extraction.
36
        * configure: Regenerate.
37
 
38
2007-02-07  Jakub Jelinek  
39
 
40
        PR c++/30703
41
        * testsuite/libgomp.c++/pr30703.C: New test.
42
 
43
2007-02-07  Daniel Franke  
44
 
45
        Backport from mainline:
46
        2007-01-31  Daniel Franke 
47
 
48
        PR libgomp/30546
49
        * configure.ac: Add check for makeinfo
50
        * Makefile.am: Redefined target libgomp.info, build libgomp.info only
51
        if an appropiate version of makeinfo is found.
52
        * aclocal.m4: Regenerated.
53
        * configure: Regenerated.
54
        * Makefile.in: Regenerated.
55
        * testsuite/Makefile.in: Regenerated.
56
 
57
2007-02-07  Daniel Franke  
58
 
59
        Backport from mainline:
60
        2007-01-31  Ralf Wildenhues  
61
 
62
        * libgomp.texi: Fix spacing after abbreviations.
63
 
64
        Backport from mainline:
65
        2007-01-29  Daniel Franke  
66
 
67
        PR libgomp/30540
68
        * libgomp.texi: More about implementation-dependent settings.
69
 
70
2007-02-06  Roger Sayle  
71
 
72
        PR libgomp/28296
73
        Backport from mainline.
74
        Revert:
75
        2006-07-05  Eric Christopher  
76
        * configure.ac: Depend addition of -pthread on host OS.
77
        * configure: Regenerate.
78
 
79
2007-01-30  Tobias Burnus  
80
 
81
        Backport from mainline.
82
        2007-01-26  Tobias Burnus  
83
 
84
        * testsuite/libgomp.fortran/fortran.exp: Support .f03 extension.
85
 
86
2007-01-25  Daniel Franke 
87
 
88
        Backport from mainline:
89
        2006-12-21  Daniel Franke  
90
 
91
        PR libgomp/28209
92
        * libgomp.texi: New file.
93
        * configure.ac: Add --enable-generated-files-in-srcdir option.
94
        * Makefile.am: Add info, dvi, pdf, html targets. On request,
95
        copy files to srcdir.
96
        * Makefile.in: Regenerated.
97
        * testsuite/Makefile.in: Regenerated.
98
        * NOTES: Removed.
99
 
100
        Backport from mainline:
101
        2007-01-14  Daniel Franke  
102
        * libgomp.texi: Document implementation specific default values of
103
        environment variables.
104
 
105
2007-01-24  Jakub Jelinek  
106
 
107
        PR middle-end/30494
108
        * testsuite/libgomp.c/pr30494.c: New test.
109
 
110
2006-12-18  Daniel Franke  
111
 
112
        Backport from mainline:
113
        2006-12-04  Daniel Franke  
114
 
115
        PR libgomp/29949
116
        * env.c (omp_set_num_threads): Set illegal thread count to 1.
117
 
118
        Backport from mainline:
119
        2006-11-09  Uros Bizjak  
120
 
121
        * env.c (parse_schedule): Reject out of range values.
122
        (parse_unsigned_long): Reject out of range, negative
123
        or zero values.
124
 
125
2006-12-04  Eric Botcazou  
126
 
127
        * configure: Regenerate.
128
 
129
2006-12-04  Jakub Jelinek  
130
 
131
        PR libgomp/29947
132
        * loop.c (gomp_loop_init): Make parameters signed.  Set ws->end to
133
        start if there shouldn't be any loop iterations.
134
        (gomp_loop_ordered_static_start): Remove start == end test.
135
        * testsuite/libgomp.c/pr29947-1.c: New test.
136
        * testsuite/libgomp.c/pr29947-2.c: New test.
137
 
138
2006-12-02  Eric Botcazou  
139
 
140
        * configure.tgt: Force initial-exec TLS model on Linux only.
141
 
142
2006-10-29  Jakub Jelinek  
143
 
144
        PR fortran/29629
145
        * testsuite/libgomp.fortran/pr29629.f90: New test.
146
 
147
2006-10-24  Eric Botcazou  
148
 
149
        PR libgomp/29494
150
        * configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6.
151
        * config/posix95: New directory.
152
        * config/posix95/omp-lock.h: New file.
153
        * config/posix95/lock.c: Likewise.
154
 
155
2006-10-14  Geoffrey Keating  
156
 
157
        * aclocal.m4: Regenerate.
158
        * configure: Regenerate.
159
 
160
2006-10-05  Danny Smith  
161
 
162
        * testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
163
        '<' to '<='.
164
 
165
2006-10-05  Danny Smith  
166
 
167
        * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from
168
        test.
169
        * configure: Regenerate.
170
        * fortran.c  (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias.
171
 
172
2006-09-26  Jakub Jelinek  
173
 
174
        PR middle-end/25261
175
        PR middle-end/28790
176
        * testsuite/libgomp.c/nestedfn-4.c: New test.
177
        * testsuite/libgomp.c/nestedfn-5.c: New test.
178
        * testsuite/libgomp.fortran/nestedfn3.f90: New test.
179
 
180
        PR fortran/29097
181
        * testsuite/libgomp.fortran/condinc1.f: New test.
182
        * testsuite/libgomp.fortran/condinc2.f: New test.
183
        * testsuite/libgomp.fortran/condinc3.f90: New test.
184
        * testsuite/libgomp.fortran/condinc4.f90: New test.
185
        * testsuite/libgomp.fortran/condinc1.inc: New file.
186
 
187
2006-09-18  Tom Tromey  
188
 
189
        * configure: Rebuilt.
190
 
191
2006-09-13  Joseph S. Myers  
192
 
193
        PR c/28768
194
        PR preprocessor/14634
195
        * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
196
        to AC_DEFINE.
197
        * configure: Regenerate.
198
 
199
2006-09-08  Steven G. Kargl  
200
 
201
        * testsuite/libgomp.fortran/reduction3.f90: Change
202
        -2147483648 to -huge(i)-1 to avoid overflow.
203
        * testsuite/libgomp.fortran/reduction4.f90: Change
204
        Z'ffffffff' to not(0) to avoid overflow.
205
 
206
2006-08-26  Joseph S. Myers  
207
 
208
        PR libgomp/25938
209
        * Makefile.am (libsubincludedir): New.
210
        (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS.
211
        * Makefile.in: Regenerate.
212
 
213
2006-08-17  Jakub Jelinek  
214
 
215
        PR libgomp/28725
216
        * env.c: Include ctype.h.
217
        (parse_schedule, parse_unsigned_long, parse_boolean): Allow
218
        leading and/or trailing whitespace and compare strings case
219
        insensitively.
220
 
221
2006-07-16  Jakub Jelinek  
222
 
223
        PR fortran/28390
224
        * testsuite/libgomp.fortran/pr28390.f: New test.
225
 
226
2006-07-05  Eric Christopher  
227
 
228
        * configure.ac: Depend addition of -pthread on host OS.
229
        * configure: Regenerate.
230
 
231
2006-06-21  Jakub Jelinek  
232
 
233
        * critical.c (GOMP_critical_name_start): Fix *pptr initialization
234
        when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is
235
        defined.
236
 
237
2006-06-20  Jakub Jelinek  
238
 
239
        PR libgomp/26175
240
        PR libgomp/26477
241
        * configure.ac: If neither --enable-linux-futex nor
242
        --disable-linux-futex is passed, determine the default by checking
243
        for compiling and/or running against NPTL.  With --enable-linux-futex,
244
        check if SYS_gettid and SYS_futex are defined.
245
        * configure: Rebuilt.
246
 
247
2006-06-14  Richard Henderson  
248
 
249
        PR libgomp/28008
250
        * env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when
251
        undefined.  Use GOMP_STACKSIZE not OMP_STACKSIZE for environment.
252
 
253
2006-06-09  Richard Henderson  
254
 
255
        * env.c (gomp_nthreads_var): Change to unsigned long.
256
        (gomp_run_sched_chunk): Likewise.
257
        (parse_unsigned_long): Rename from parse_num_threads and generalize.
258
        (initialize_env): Initialize gomp_thread_attr.
259
        * libgomp.h (gomp_nthreads_var): Update decl.
260
        (gomp_run_sched_chunk): Likewise.
261
        (gomp_thread_attr): Declare.
262
        * team.c (gomp_thread_attr): Export.
263
        (initialize_team): Don't initialize it.
264
 
265
2006-06-09  Jakub Jelinek  
266
 
267
        PR fortran/27916
268
        * testsuite/libgomp.fortran/pr27916-1.f90: New test.
269
        * testsuite/libgomp.fortran/pr27916-2.f90: New test.
270
 
271
2006-06-06  Francois-Xavier Coudert  
272
 
273
        * config/mingw32/time.c: New file.
274
        * configure.tgt: Use it.
275
 
276
2006-05-23  Carlos O'Donell  
277
 
278
        * Makefile.am: Add install-html target. Add install-html to .PHONY
279
        * Makefile.in: Regenerate.
280
 
281
2006-05-22  John David Anglin  
282
 
283
        PR libgomp/27612
284
        * testsuite/libgomp.c/sections-1.c: Require sync_int_long.
285
        * testsuite/libgomp.c/critical-1.c: Likewise.
286
        * testsuite/libgomp.c/loop-1.c: Likewise.
287
        * testsuite/libgomp.c/loop-2.c: Likewise.
288
        * testsuite/libgomp.c/single-1.c: Likewise.
289
        * testsuite/libgomp.c/ordered-1.c: Likewise.
290
        * testsuite/libgomp.c/ordered-2.c: Likewise.
291
 
292
2006-05-15  Jakub Jelinek  
293
 
294
        PR middle-end/27416
295
        * libgomp.fortran/pr27416-1.f90: New test.
296
 
297
2006-05-03  Jakub Jelinek  
298
 
299
        PR fortran/27395
300
        * testsuite/libgomp.fortran/pr27395-1.f90: New test.
301
        * testsuite/libgomp.fortran/pr27395-2.f90: New test.
302
 
303
2006-05-02  Jakub Jelinek  
304
 
305
        PR c++/26943
306
        * testsuite/libgomp.c/pr26943-1.c: New test.
307
        * testsuite/libgomp.c/pr26943-2.c: New test.
308
        * testsuite/libgomp.c/pr26943-3.c: New test.
309
        * testsuite/libgomp.c/pr26943-4.c: New test.
310
        * testsuite/libgomp.c++/pr27337.C: Remove barrier.
311
        * testsuite/libgomp.c++/pr26943.C: New test.
312
 
313
2006-05-02  Jakub Jelinek  
314
 
315
        PR middle-end/27337
316
        * testsuite/libgomp.c++/pr27337.C: New test.
317
 
318
2006-04-26  Jakub Jelinek  
319
 
320
        PR c/26171
321
        * testsuite/libgomp.c/pr26171.c: New test.
322
 
323
2006-04-25  Richard Henderson  
324
 
325
        PR libgomp/25865
326
        * configure.ac: Use GCC_CHECK_TLS.
327
        * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove.
328
        * Makefile.in, aclocal.m4, configure: Regenerate.
329
 
330
2006-04-10  Matthias Klose  
331
 
332
        * testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib
333
        directory names containing underscores.
334
 
335
2006-03-21  Jakub Jelinek  
336
 
337
        PR c++/26691
338
        * testsuite/libgomp.c++/pr26691.C: New test.
339
 
340
2006-03-13  Jakub Jelinek  
341
 
342
        * testsuite/libgomp.fortran/retval2.f90: New test.
343
 
344
2006-03-09  Diego Novillo  
345
 
346
        * testsuite/libgomp.c++: New directory.
347
 
348
2006-02-25  Shantonu Sen  
349
 
350
        * config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions.
351
        * config/posix/sem.c: Implement the above.
352
 
353
2006-02-25  Andreas Tobler  
354
 
355
        * configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and
356
        define HAVE_BROKEN_POSIX_SEMAPHORES.
357
        * configure: Rebuilt.
358
        * config.h.in: Rebuilt.
359
 
360
2006-02-17  Francois-Xavier Coudert  
361
 
362
        PR bootstrap/26161
363
        * configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment
364
        for the other pthread check.
365
        * configure: Regenerate.
366
        * config.h.in: Regenerate.
367
 
368
2006-02-15  Jakub Jelinek  
369
 
370
        PR libgomp/25938
371
        PR libgomp/25984
372
        * Makefile.am (fincludedir): New variable.
373
        (nodist_include_HEADERS): Remove Fortran files.
374
        (nodist_finclude_HEADERS): New variable.
375
        * Makefile.in: Regenerated.
376
 
377
2006-02-13  Jakub Jelinek  
378
 
379
        * testsuite/libgomp.fortran/vla7.f90: Add -w to options.
380
        Remove tests for returning assumed character length arrays.
381
 
382
2006-02-12  Roger Sayle  
383
            John David Anglin  
384
 
385
        PR libgomp/25936
386
        * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems.
387
 
388
2006-02-08  Ulrich Weigand  
389
 
390
        * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library.
391
 
392
2006-02-07  Eric Botcazou  
393
 
394
        * testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related
395
        part of LD_LIBRARY_PATH manually.
396
 
397
2006-02-03  H.J. Lu  
398
 
399
        PR libgomp/25852
400
        * testsuite/lib/libgomp-dg.exp (blddir): Set it in
401
        libgomp_init.
402
 
403
2005-01-25  Paolo Bonzini  
404
 
405
        PR libgomp/25884
406
        * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove.
407
        * configure.ac (PERL): Don't set.
408
        (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here.
409
        (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE,
410
        OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions.
411
        * omp.h.in: Wrap the new configure substitutions with @ characters.
412
        * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise.
413
        * aclocal.m4, configure, Makefile.in: Regenerate.
414
        * mkomp_h.pl: Delete.
415
 
416
2005-01-24  Paolo Bonzini  
417
 
418
        PR libgomp/25259
419
        * configure.ac: Use GCC_HEADER_STDINT.
420
        * libgomp.h: Include gstdint.h.
421
        * libgomp_f.h.in: Don't include stdint.h or inttypes.h.
422
        * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild.
423
 
424
2006-01-24  Richard Henderson  
425
 
426
        PR libgomp/25942
427
        * configure.ac: Add AM_MAINTAINER_MODE.
428
        * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild.
429
 
430
2006-01-24  Diego Novillo  
431
 
432
        * Makefile.in: Regenerate.
433
        * testsuite/Makefile.in: Regenerate.
434
        * aclocal.m4: Regenerate.
435
 
436
2006-01-23  Andreas Tobler  
437
 
438
        * config/posix/proc.c: Conditional include of sys/loadavg.h for
439
        Solaris.
440
        * configure.ac: Add check for loadavg.h.
441
        (link_gomp): Adjust comment.
442
        * configure: Regenerate.
443
        * config.h.in: Regenerate.
444
 
445
2006-01-21  Steve Ellcey  
446
 
447
        PR libgomp/25877
448
        * configure.ac: Remove check for alloca.h.
449
        * configure: Regenerate.
450
        * config.h.in: Regenerate.
451
        * libgomp.h: define gomp_alloca to be __builtin_alloca.
452
        * team.c: Remove use of alloca.h.
453
        Call gomp_alloca instead of alloca.
454
 
455
2006-01-20  Steve Ellcey  
456
 
457
        PR libgomp/25877
458
        * team.c: Add include of alloca.h.
459
        * configure.ac: Add check for alloca.h.
460
        * configure: Regenerate.
461
        * config.h.in: Regenerate.
462
 
463
2006-01-17  Jakub Jelinek  
464
 
465
        PR fortran/25219
466
        * testsuite/libgomp.fortran/pr25219.f90: New test.
467
 
468
2005-12-05  Uros Bizjak  
469
 
470
        * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c,
471
        testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c,
472
        testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
473
        testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
474
        testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C,
475
        testsuite/libgomp.fortran/threadprivate1.f90,
476
        testsuite/libgomp.fortran/threadprivate2.f90,
477
        testsuite/libgomp.fortran/threadprivate3.f90,
478
        testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
479
        testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
480
        testsuite/libgomp.fortran/omp_parse3.f90: Change required
481
        effective-target to TLS runtime.
482
 
483
        * testsuite/libgomp.fortran/pr25162.f: Require
484
        effective-target TLS runtime.
485
 
486
2005-12-01  Jakub Jelinek  
487
 
488
        * testsuite/libgomp.fortran/nestedfn2.f90: New test.
489
        * testsuite/libgomp.c/nestedfn-3.c: New test.
490
 
491
2005-11-30  Jakub Jelinek  
492
 
493
        PR fortran/25162
494
        * testsuite/libgomp.fortran/pr25162.f: New test.
495
 
496
2005-11-28  Jakub Jelinek  
497
 
498
        * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to
499
        CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed.
500
 
501
2005-11-25  Jakub Jelinek  
502
 
503
        * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c,
504
        libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in,
505
        omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c,
506
        single.c, team.c, work.c, config/linux/alpha/futex.h,
507
        config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h,
508
        config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h,
509
        config/linux/powerpc/futex.h, config/linux/s390/futex.h,
510
        config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h,
511
        config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h,
512
        config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c,
513
        config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update
514
        FSF address.
515
 
516
2005-11-18  Jakub Jelinek  
517
 
518
        * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS
519
        to nodist_noinst_HEADERS.
520
        * Makefile.in: Rebuilt.
521
 
522
        * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct,
523
        add integer count field.
524
        * config/posix/lock.c (omp_destroy_nest_lock): Adjust for
525
        omp_nest_lock_t type change.
526
        (omp_init_nest_lock): Likewise.  Initialize count to 0.
527
        (omp_set_nest_lock): Adjust for omp_nest_lock_t type change.
528
        Increment count.
529
        (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change.
530
        Decrement count.
531
        (omp_test_nest_lock): Adjust for omp_nest_lock_t type change.
532
        Increment count if successful and return the new nesting level.
533
        * config/linux/lock.c (omp_test_nest_lock): Return new nesting level.
534
        * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type.
535
        * testsuite/libgomp.c/lib-1.c: New test.
536
        * testsuite/libgomp.fortran/lib1.f90: New test.
537
        * testsuite/libgomp.fortran/lib2.f: New test.
538
        * testsuite/libgomp.fortran/lib3.f: New test.
539
 
540
2005-11-17  Richard Henderson  
541
 
542
        PR 24845
543
        * Makefile.am (nodist_toolexeclib_HEADERS): New.
544
        * configure.ac (link_gomp): New.  Substitute it.
545
        (AC_CONFIG_FILES): Add libgomp.spec.
546
        * libgomp.spec.in: New file.
547
        * Makefile.in, testsuite/Makefile.in, configure: Rebuild.
548
        * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags.
549
 
550
2005-11-18  Jakub Jelinek  
551
 
552
        * testsuite/libgomp.fortran/reduction1.f90: Adjust for
553
        reduction(-:var) behaving the same as reduction(+:var).
554
        * testsuite/libgomp.c/reduction-4.c: New test.
555
 
556
2005-11-15  Uros Bizjak  
557
 
558
        * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c,
559
        testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c,
560
        testsuite/libgomp.c/copyin-3.c,
561
        testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
562
        testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
563
        testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C,
564
        testsuite/libgomp.c++/pr24455.C,
565
        testsuite/libgomp.fortran/threadprivate1.f90,
566
        testsuite/libgomp.fortran/threadprivate2.f90,
567
        testsuite/libgomp.fortran/threadprivate3.f90,
568
        testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
569
        testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
570
        testsuite/libgomp.fortran/omp_parse3.f90: Require
571
        effective-target TLS.
572
 
573
2005-11-14  Diego Novillo  
574
 
575
        * HEADER: Remove.
576
 
577
2005-11-13  Jakub Jelinek  
578
 
579
        PR libgomp/24797
580
        * team.c (initialize_team): Pass NULL rather than free as
581
        pthread_key_create destructor.  Initialize thread specific data
582
        pointer in initial thread to a static local variable rather than
583
        malloced memory.
584
 
585
2005-11-11  Uros Bizjak  
586
 
587
        * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append
588
        its location to ld_library_path.
589
 
590
2005-11-10  Diego Novillo  
591
 
592
        * testsuite/libgomp.c/c.exp: Rename from dg.exp.
593
 
594
2005-11-10  Diego Novillo  
595
 
596
        * testsuite/libgomp.c: Rename from libgomp.dg.
597
 
598
2005-11-09  Diego Novillo  
599
 
600
        * testsuite/libgomp.c++/pr24455.C: Add copyin clause for
601
        threadprivate variable 'i'.
602
 
603
2005-11-09  Jakub Jelinek  
604
 
605
        * config/linux/s390/futex.h: New file.
606
        * configure.tgt: Use it.
607
 
608
        * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization
609
        before the parallel.
610
 
611
2005-11-08  Jakub Jelinek  
612
 
613
        PR c++/24734
614
        * testsuite/libgomp.c++/master-1.C: New test.
615
 
616
2005-11-07  Jakub Jelinek  
617
 
618
        * testsuite/libgomp.dg/copyin-3.c: New test.
619
 
620
2005-11-07  Jakub Jelinek  
621
 
622
        * testsuite/libgomp.fortran/retval1.f90: New test.
623
        * testsuite/libgomp.fortran/vla7.f90: New test.
624
 
625
2005-11-06  Jakub Jelinek  
626
 
627
        * testsuite/libgomp.fortran/vla2.f90: New test.
628
        * testsuite/libgomp.fortran/vla3.f90: New test.
629
        * testsuite/libgomp.fortran/vla4.f90: New test.
630
        * testsuite/libgomp.fortran/vla5.f90: New test.
631
        * testsuite/libgomp.fortran/vla6.f90: New test.
632
 
633
2005-11-01  Jakub Jelinek  
634
 
635
        * config/linux/sparc/futex.h: New file.
636
        * configure.tgt: Use it.
637
        * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing.
638
 
639
        * critical.c: Include stdlib.h.
640
        * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about
641
        ignoring return value.
642
        * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after
643
        LIBGOMP_CHECK_SYNC_BUILTINS check.
644
        * configure: Rebuilt.
645
 
646
2005-10-31  Jakub Jelinek  
647
 
648
        * testsuite/libgomp.fortran/vla1.f90: New test.
649
 
650
2005-10-31  Richard Henderson  
651
 
652
        * testsuite/libgomp.fortran/character2.f90: Fix race condition
653
        setting 's' in different threads.
654
 
655
2005-10-31  Jakub Jelinek  
656
 
657
        * libgomp.h (attribute_hidden, ialias): Define.
658
        * config/posix/proc.c (omp_get_num_procs): Add ialias.
659
        * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise.
660
        * config/posix/lock.c (omp_init_lock, omp_init_nest_lock,
661
        omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
662
        omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
663
        omp_test_lock, omp_test_nest_lock): Likewise.
664
        * config/linux/lock.c (omp_init_lock, omp_init_nest_lock,
665
        omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
666
        omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
667
        omp_test_lock, omp_test_nest_lock): Likewise.
668
        * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads,
669
        omp_get_dynamic, omp_get_nested): Likewise.
670
        * parallel.c (omp_get_num_threads, omp_get_max_threads,
671
        omp_get_thread_num, omp_in_parallel): Likewise.
672
        * fortran.c (ialias_redirect): Define.
673
        (omp_init_lock, omp_init_nest_lock, omp_destroy_lock,
674
        omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock,
675
        omp_unset_lock, omp_unset_nest_lock, omp_test_lock,
676
        omp_test_nest_lock, omp_set_dynamic, omp_set_nested,
677
        omp_set_num_threads, omp_get_dynamic, omp_get_nested,
678
        omp_in_parallel, omp_get_max_threads, omp_get_num_procs,
679
        omp_get_num_threads, omp_get_thread_num, omp_get_wtick,
680
        omp_get_wtime): Add ialias_redirect.
681
 
682
2005-10-30  Jakub Jelinek  
683
 
684
        * fortran.c: Include stdlib.h.
685
 
686
2005-10-29  Jakub Jelinek  
687
 
688
        * Makefile.am (env.o, env.lo): Depend on libgomp_f.h.
689
        * Makefile.in: Regenerated.
690
 
691
2005-10-28  Jakub Jelinek  
692
 
693
        * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE.
694
        * libgomp_f.h.in (omp_check_defines): New function.
695
        * env.c: Include libgomp_f.h.
696
        (initialize_env): Call omp_check_defines.
697
 
698
        * testsuite/libgomp.dg/copyin-2.c: New test.
699
        * testsuite/libgomp.c++/copyin-2.C: New test.
700
        * testsuite/libgomp.fortran/threadprivate3.f90: New test.
701
 
702
        * testsuite/libgomp.fortran/threadprivate2.f90: New test.
703
        * testsuite/libgomp.fortran/sharing2.f90: New test.
704
 
705
        * testsuite/libgomp.dg/copyin-1.c: New test.
706
        * testsuite/libgomp.c++/copyin-1.C: New test.
707
 
708
2005-10-26  Jakub Jelinek  
709
 
710
        * testsuite/libgomp.fortran/crayptr1.f90: New test.
711
 
712
        * testsuite/libgomp.fortran/workshare1.f90: New test.
713
 
714
        * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile
715
        only test.
716
        * libgomp.fortran/sharing1.f90: New test.
717
 
718
2005-10-24  Jakub Jelinek  
719
 
720
        PR c++/24502
721
        * testsuite/libgomp.c++/loop-7.C: New test.
722
 
723
        * testsuite/libgomp.dg/nestedfn-2.c: New test.
724
 
725
        * testsuite/libgomp.dg/nestedfn-1.c: New test.
726
        * testsuite/libgomp.fortran/reduction6.f90: New test.
727
        * testsuite/libgomp.fortran/nestedfn1.f90: New test.
728
 
729
2005-10-23  Richard Henderson  
730
 
731
        * testsuite/libgomp.c++/ctor-1.C: New.
732
        * testsuite/libgomp.c++/ctor-2.C: New.
733
        * testsuite/libgomp.c++/ctor-3.C: New.
734
        * testsuite/libgomp.c++/ctor-4.C: New.
735
        * testsuite/libgomp.c++/ctor-5.C: New.
736
        * testsuite/libgomp.c++/ctor-6.C: New.
737
        * testsuite/libgomp.c++/ctor-7.C: New.
738
        * testsuite/libgomp.c++/ctor-8.C: New.
739
        * testsuite/libgomp.c++/ctor-9.C: New.
740
 
741
2005-10-21  Diego Novillo  
742
 
743
        PR 24455
744
        * testsuite/libgomp.c++/pr24455-1.C: New test.
745
        * testsuite/libgomp.c++/pr24455.C: New test.
746
        * testsuite/libgomp.dg/pr24455-1.c: New test.
747
        * testsuite/libgomp.dg/pr24455.c: New test.
748
 
749
2005-10-20  Richard Henderson  
750
 
751
        * testsuite/libgomp.c++/loop-6.C: New.
752
        * testsuite/libgomp.dg/loop-3.c: New.
753
 
754
2005-10-20  Jakub Jelinek  
755
 
756
        * testsuite/libgomp.fortran/jacobi.f: Don't make i and j
757
        explicitly private.
758
        * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i
759
        explicitly shared.
760
 
761
2005-10-19  Diego Novillo  
762
 
763
        * testsuite/libgomp.fortran/jacobi.f: New test.
764
 
765
2005-10-19  Richard Henderson  
766
 
767
        * configure.tgt (i?86-linux): Default to with_arch instead of
768
        CFLAGS.  Add -mtune to match target_cpu.
769
        (x86_64-linux): Tune to i686.
770
 
771
        * fortran.c (omp_test_nest_lock_): Fix typo.
772
 
773
2005-10-19  Jakub Jelinek  
774
 
775
        * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
776
        gomp_ordered_sync): Do nothing if team->nthreads == 1.
777
        * testsuite/libgomp.dg/ordered-3.c: New test.
778
 
779
        * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort.
780
        Remove volatile keyword.
781
 
782
        * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables
783
        in COMMON block to avoid warnings on 64-bit targets.
784
 
785
2005-10-18  Diego Novillo  
786
 
787
        * testsuite/libgomp.dg/shared-3.c: New test.
788
 
789
2005-10-18  Jakub Jelinek  
790
 
791
        * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed.
792
        * testsuite/libgomp.fortran/reduction5.f90: New test.
793
 
794
2005-10-18  Jakub Jelinek  
795
 
796
        * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to
797
        dg-options.
798
        * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise.  Enable
799
        flush loop now that __sync_synchronize has proper memory barrier.
800
        * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo.
801
        Add -ffixed-form to dg-options.
802
 
803
2005-10-17  Diego Novillo  
804
 
805
        * testsuite/libgomp.fortran/fortran.exp: Also gather tests
806
        from subdirectories.
807
        * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test.
808
        * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test.
809
        * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test.
810
        * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test.
811
        * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test.
812
        * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test.
813
        * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test.
814
        * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test.
815
        * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test.
816
        * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test.
817
        * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test.
818
        * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test.
819
        * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test.
820
        * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test.
821
        * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test.
822
        * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test.
823
        * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test.
824
        * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test.
825
        * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test.
826
        * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test.
827
        * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test.
828
        * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test.
829
        * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test.
830
        * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test.
831
        * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test.
832
 
833
2005-10-17  Jakub Jelinek  
834
 
835
        * testsuite/libgomp.dg/dg.exp: Only unset lang_* if
836
        lang_library_path exists.  Use find instead of glob to gather tests.
837
        * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed.
838
 
839
2005-10-17  Diego Novillo  
840
 
841
        * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test.
842
        * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test.
843
        * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test.
844
        * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test.
845
        * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test.
846
        * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test.
847
        * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test.
848
        * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test.
849
        * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test.
850
        * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test.
851
        * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test.
852
        * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test.
853
        * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file.
854
 
855
2005-10-15  Jakub Jelinek  
856
 
857
        * testsuite/libgomp.dg/vla-1.c: New test.
858
 
859
        * testsuite/libgomp.fortran/reference2.f90: New test.
860
 
861
        * testsuite/libgomp.fortran/character2.f90: Remove explicit
862
        declaration of omp_get_thread_num.
863
        * testsuite/libgomp.fortran/threadprivate1.f90: Likewise.  Add
864
        use omp_lib.
865
 
866
        * testsuite/libgomp.fortran/reduction1.f90: New test.
867
        * testsuite/libgomp.fortran/reduction2.f90: New test.
868
        * testsuite/libgomp.fortran/reduction3.f90: New test.
869
        * testsuite/libgomp.fortran/reduction4.f90: New test.
870
 
871
2005-10-13  Richard Henderson  
872
 
873
        * Makefile.am (libgomp_la_SOURCES): Add bar.c.
874
        * Makefile.in: Regenerate.
875
        * barrier.c (GOMP_barrier): Use gomp_barrier_wait.
876
        * libgomp.h: Include bar.h.
877
        (struct gomp_barrier): Remove.
878
        (struct gomp_team): Add barrier.  Replace master_barrier with
879
        master_release.  Replace threads with ordered_release.
880
        (struct gomp_thread): Replace barrier with release.
881
        * ordered.c (gomp_ordered_first): Update for ordered_release change.
882
        (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init,
883
        gomp_ordered_static_next, gomp_ordered_sync): Likewise.
884
        * single.c (GOMP_single_copy_start): Use gomp_barrier_wait.
885
        (GOMP_single_copy_end): Likewise.
886
        * team.c (gomp_threads_dock): New.
887
        (gomp_barrier_init, gomp_barrier_destroy): Remove.
888
        (gomp_thread_start): Use gomp_barrier_wait.
889
        (new_team, free_team): Update for gomp_team changes.
890
        (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit.
891
        (gomp_team_end): Use gomp_barrier_wait.
892
        (initialize_team): Update for gomp_thread changes.
893
        * work.c (gomp_work_share_end): Use gomp_barrier_wait_start.
894
        (gomp_work_share_end_nowait): Use atomic ops when available.
895
        * config/linux/bar.c, config/linux/bar.h: New files.
896
        * config/posix/bar.c, config/posix/bar.h: New files.
897
 
898
2005-10-13  Jakub Jelinek  
899
 
900
        * single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
901
        * testsuite/libgomp.dg/single-2.c: New test.
902
 
903
        * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file,
904
        lang_link_flags): Unset, so that they aren't inherited from previously
905
        sourced *.exp.
906
 
907
        * testsuite/libgomp.fortran/threadprivate1.f90: New test.
908
 
909
2005-10-12  Richard Henderson  
910
 
911
        * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel.
912
        (libgomp_init): Use lang_test_file, lang_library_path, and
913
        lang_link_flags, set by the subdirectory files.  Add -fopenmp here.
914
 
915
        * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New.
916
        (lang_test_file, lang_link_flags): New.
917
        (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove.
918
 
919
        * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C,
920
        testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C,
921
        testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C,
922
        testsuite/libgomp.c++/parallel-1.C,
923
        testsuite/libgomp.c++/reduction-1.C,
924
        testsuite/libgomp.c++/reduction-2.C,
925
        testsuite/libgomp.c++/reduction-3.C,
926
        testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C,
927
        testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C,
928
        testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C:
929
        New files, largely cribbed from the C testsuite.
930
 
931
2005-10-12  Jakub Jelinek  
932
 
933
        * testsuite/libgomp.fortran/character1.f90: New test.
934
        * testsuite/libgomp.fortran/character2.f90: New test.
935
 
936
        * testsuite/libgomp.dg/nested-1.c: New test.
937
        * testsuite/libgomp.dg/nested-2.c: New test.
938
        * testsuite/libgomp.fortran/do1.f90: New test.
939
        * testsuite/libgomp.fortran/do2.f90: New test.
940
 
941
        * testsuite/libgomp.fortran/reference1.f90: New test.
942
 
943
2005-10-11  Jakub Jelinek  
944
 
945
        * testsuite/libgomp.dg/reduction-1.c: New test.
946
        * testsuite/libgomp.dg/reduction-2.c: New test.
947
        * testsuite/libgomp.dg/reduction-3.c: New test.
948
 
949
2005-10-10  Jakub Jelinek  
950
 
951
        * testsuite/libgomp.dg/atomic-1.c: New test.
952
        * testsuite/libgomp.dg/atomic-2.c: New test.
953
 
954
2005-10-09  Richard Henderson  
955
 
956
        * critical.c (atomic_lock): New.
957
        (initialize_critical): Initialize it.
958
        (GOMP_atomic_start, GOMP_atomic_end): New.
959
        * libgomp.map: Export them.
960
        * libgomp_g.h: Declare them.
961
 
962
        * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite.
963
 
964
2005-10-02  Richard Henderson  
965
 
966
        * configure.ac: Move save_CFLAGS hack earlier.  Append -Wall/-Werror
967
        to XCFLAGS instead of CFLAGS.
968
 
969
2005-09-30  Richard Henderson  
970
 
971
        * configure.ac: Determine whether -pthread or -lpthread is needed.
972
        * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread.
973
        * Makefine.in, configure: Rebuild.
974
 
975
2005-09-28  Richard Henderson  
976
 
977
        * testsuite/libgomp.dg/omp-loop03.c: Fix return code.
978
        * testsuite/libgomp.dg/omp-single-3.c: New test.
979
 
980
2005-09-28  Diego Novillo  
981
 
982
        * testsuite/libgomp.dg/omp-single-2.c: New test.
983
        * testsuite/libgomp.dg/shared-2.c: Fix return code.
984
 
985
2005-09-27  Richard Henderson  
986
 
987
        * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier.
988
        * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule.
989
 
990
2005-09-27  Jakub Jelinek  
991
 
992
        * testsuite/libgomp.dg/omp-loop03.c: New test.
993
 
994
2005-09-27  Diego Novillo  
995
 
996
        * testsuite/libgomp.dg/omp-parallel-for.c: New test.
997
 
998
2005-09-27  Diego Novillo  
999
 
1000
        * testsuite/libgomp.dg/omp-single-1.c: New test.
1001
        * testsuite/libgomp.dg/shared-1.c: Return 0.
1002
        Add prototype for abort.
1003
        * testsuite/libgomp.dg/shared-2.c: Likewise.
1004
 
1005
2005-09-26  Jakub Jelinek  
1006
 
1007
        * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming
1008
        constructs.
1009
 
1010
2005-09-26  Diego Novillo  
1011
 
1012
        * testsuite/libgomp.dg/shared-1.c: New test.
1013
        * testsuite/libgomp.dg/shared-2.c: New test.
1014
 
1015
2005-09-24  Richard Henderson  
1016
 
1017
        * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error.
1018
 
1019
2005-09-24  Richard Henderson  
1020
 
1021
        * iter.c (gomp_iter_static_next): Round up when computing number
1022
        of iterations.  Don't bother distributing a remainder equally.
1023
 
1024
        * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main.
1025
        Don't call srand.  Zero b before testing.
1026
        (main): New.
1027
 
1028
2005-09-24  Jakub Jelinek  
1029
 
1030
        * testsuite/libgomp.fortran/omp_atomic1.f90: New test.
1031
        * testsuite/libgomp.fortran/omp_atomic2.f90: New test.
1032
 
1033
2005-09-23  Jakub Jelinek  
1034
 
1035
        * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do
1036
        without !$omp end do, followed immediately by subroutine end.
1037
 
1038
2005-09-23  Diego Novillo  
1039
 
1040
        * testsuite/libgomp.dg/omp-parallel-if.c: New test.
1041
 
1042
2005-09-22  Richard Henderson  
1043
 
1044
        * critical.c (GOMP_critical_name_start): Change argument to void**.
1045
        Reuse the pointer space if the mutex fits.
1046
        (GOMP_critical_name_end): Likewise.
1047
        (initialize_critical): Don't define if GOMP_MUTEX_INIT_0.
1048
        * libgomp_g.h (GOMP_critical_name_start): Update decl.
1049
        (GOMP_critical_name_end): Likewise.
1050
        * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New.
1051
        * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New.
1052
 
1053
2005-09-20  Richard Henderson  
1054
 
1055
        * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New.
1056
        (create_lock_lock): New.
1057
        (initialize_critical): Initialize it.
1058
        * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New.
1059
        * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare.
1060
 
1061
2005-09-20  Diego Novillo  
1062
 
1063
        * testsuite/libgom.dg/omp-loop01.c: Include stdio.h.
1064
 
1065
2005-09-20  Diego Novillo  
1066
 
1067
        * testsuite/libgomp.dg/omp-loop01.c: New test.
1068
        * testsuite/libgomp.dg/omp-loop02.c: New test.
1069
 
1070
2005-09-20  Jakub Jelinek  
1071
 
1072
        * configure.ac (AC_PROG_FC): Add.
1073
        (USE_FORTRAN): New automake conditional.
1074
        * configure: Rebuilt.
1075
        * Makefile.am (libgomp_la_SOURCES): Add fortran.c.
1076
        (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h.
1077
        If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod.
1078
        Add rules to build them.
1079
        * Makefile.in: Rebuilt.
1080
        * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and
1081
        OMP_NEST_LOCK_KIND.
1082
        * libgomp.map: Add Fortran wrappers.
1083
        * libgomp_f.h.in: New file.
1084
        * omp_lib.h.in: New file.
1085
        * omp_lib.f90.in: New file.
1086
        * fortran.c: New file.
1087
        * testsuite/lib/libgomp-dg.exp: Load a few more .exp files.
1088
        Append libgfortran directory to LD_LIBRARY_PATH if it exists.
1089
        Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if
1090
        libgfortran has been built.
1091
        * testsuite/libgomp.fortran/fortran.exp: New file.
1092
        * testsuite/libgomp.fortran/omp_cond1.f: New test.
1093
        * testsuite/libgomp.fortran/omp_cond2.f: New test.
1094
        * testsuite/libgomp.fortran/omp_cond3.F90: New test.
1095
        * testsuite/libgomp.fortran/omp_cond4.F90: New test.
1096
        * testsuite/libgomp.fortran/omp_hello.f: New test.
1097
        * testsuite/libgomp.fortran/omp_orphan.f: New test.
1098
        * testsuite/libgomp.fortran/omp_parse1.f90: New test.
1099
        * testsuite/libgomp.fortran/omp_parse2.f90: New test.
1100
        * testsuite/libgomp.fortran/omp_parse3.f90: New test.
1101
        * testsuite/libgomp.fortran/omp_parse4.f90: New test.
1102
        * testsuite/libgomp.fortran/omp_reduction.f: New test.
1103
        * testsuite/libgomp.fortran/omp_workshare1.f: New test.
1104
        * testsuite/libgomp.fortran/omp_workshare2.f: New test.
1105
 
1106
2005-08-30  Richard Henderson  
1107
 
1108
        * loop.c (GOMP_loop_static_start): Provide fallback wrapper
1109
        function for when aliases are not usable.
1110
        (GOMP_loop_dynamic_start, GOMP_loop_guided_start,
1111
        GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
1112
        GOMP_loop_ordered_guided_start, GOMP_loop_static_next,
1113
        GOMP_loop_dynamic_next, GOMP_loop_guided_next,
1114
        GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next,
1115
        GOMP_loop_ordered_guided_next): Likewise.
1116
        * ordered.c (GOMP_ordered_start): Likewise.
1117
 
1118
2005-08-01  Diego Novillo  
1119
 
1120
        * testsuite/libgomp.dg/dg.exp: Use -O2 for now.
1121
        * testsuite/libgomp.dg/omp_hello.c: Fix return code
1122
        * testsuite/libgomp.dg/omp_matvec.c: Likewise.
1123
        * testsuite/libgomp.dg/omp_orphan.c: Likewise
1124
        * testsuite/libgomp.dg/omp_reduction.c: Likewise
1125
        * testsuite/libgomp.dg/omp_workshare1.c: Likewise
1126
        * testsuite/libgomp.dg/omp_workshare2.c: Likewise
1127
        * testsuite/libgomp.dg/omp_workshare3.c: Likewise
1128
        * testsuite/libgomp.dg/omp_workshare4.c: Likewise
1129
 
1130
2005-07-07  Eric Christopher  
1131
            Diego Novillo  
1132
 
1133
        * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS.
1134
        * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix
1135
        up code.
1136
        * testsuite/libgomp.dg/omp_matvec.c: Ditto.
1137
        * testsuite/libgomp.dg/omp_orphan.c: Ditto.
1138
        * testsuite/libgomp.dg/omp_reduction.c: Ditto.
1139
        * testsuite/libgomp.dg/omp_workshare1.c: Ditto.
1140
        * testsuite/libgomp.dg/omp_workshare2.c: Ditto.
1141
        * testsuite/libgomp.dg/omp_workshare3.c: Ditto.
1142
        * testsuite/libgomp.dg/omp_workshare4.c: Ditto.
1143
 
1144
2005-06-13  Diego Novillo  
1145
 
1146
        * TOPLEVEL.patch: Remove.
1147
 
1148
2005-05-16  Richard Henderson  
1149
 
1150
        * configure.ac: Test for clock_gettime.
1151
        * config.h.in, configure: Rebuild.
1152
        * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern.
1153
        (omp_get_wtime): Use clock_gettime if available.
1154
        (omp_get_wtick): Use clock_getres if available.
1155
 
1156
2005-05-11  Richard Henderson  
1157
 
1158
        * config/linux/ia64/futex.h: New file.
1159
        * configure.tgt: Use it.
1160
 
1161
        * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline.
1162
 
1163
2005-05-07  Richard Henderson  
1164
 
1165
        * config/linux/powerpc/futex.h: New file.
1166
        * configure.tgt: Use it.
1167
 
1168
        * config/linux/i486/futex.h: Merge ...
1169
        * config/linux/x86_64/futex.h: ... into ...
1170
        * config/linux/x86/futex.h: ... here.
1171
        * configure.tgt: Update to match.
1172
 
1173
2005-05-06  Richard Henderson  
1174
 
1175
        * config/linux/alpha/futex.h: Conditionally define SYS_futex.
1176
        * config/linux/i486/futex.h: Likewise.
1177
        * config/linux/x86_64/futex.h: Likewise.
1178
 
1179
        * config/linux/lock.c: New file.
1180
        * config/linux/omp-lock.h: New file.
1181
 
1182
        * critical.c, env.h: Don't include omp.h
1183
        * config/posix/lock.c: Include libgomp.h instead of omp.h.
1184
        * config/posix/time.c: Likewise.
1185
        * config/posix/omp-lock.h: New file.
1186
        * libgomp.h: Include omp-lock.h and omp.h.
1187
        * Makefile.am (nodist_include_HEADERS): New.
1188
        (omp.h): New rule.
1189
        * configure.ac (PERL): New.
1190
        * mkomp_h.pl: New file.
1191
        * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t
1192
        with templates.
1193
        * Makefile.in, configure, testsuite/Makefile.in: Rebuild.
1194
 
1195
        * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into
1196
        build directory.  Re-add -march=i486 hack.
1197
 
1198
        * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove.
1199
        (libgomp_link_flags): Remove.
1200
        (libgomp_initialized): Remove.
1201
        (libgomp_init): Don't protect from reinitialization.  Copy code
1202
        from libstdc++ for getting the multilib set correctly.
1203
 
1204
2005-05-05  Richard Henderson  
1205
 
1206
        * config/linux/alpha/futex.h: New file.
1207
        * configure.tgt (alpha*-*-linux*): Use it.
1208
 
1209
        * config/posix/mutex.c: New file.
1210
        * config/posix/sem.c: Use libgomp.h.
1211
 
1212
        * configure.tgt (x86_64-linux): Also test CC for -m32.
1213
        * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage.
1214
 
1215
        * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add /
1216
        after $gccpath.
1217
 
1218
        * Makefile.am (SUBDIRS): New.
1219
        (libgomp_la_LDFLAGS): Add -lpthread.
1220
        * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies.
1221
        * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild.
1222
 
1223
        * libgomp_g.h: New file.
1224
        * libgomp.h: Split out all public declarations to libgomp_g.h.
1225
        Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN.
1226
        * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN.
1227
        * config/linux/sem.h: Likewise.
1228
        * config/posix/sem.h: Likewise.
1229
 
1230
        * Makefile.am (AM_LDFLAGS): New.
1231
        (libgomp_version_script): Split out from ...
1232
        (libgomp_la_LDFLAGS): ... here.
1233
        (libgomp_version_info): New.
1234
        * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE.
1235
        (LIBGOMP_ENABLE): New.
1236
        (LIBGOMP_CHECK_LINKER_FEATURES): New.
1237
        (LIBGOMP_ENABLE_SYMVERS): New.
1238
        * configure.ac (AC_INIT): Version 1.0.
1239
        (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE.
1240
        (enable-linux-futex): Likewise.  Rename from enable-futex.
1241
        (libtool_VERSION): New.
1242
        (LIBGOMP_ENABLE_SYMVERS): Use it.
1243
        * configure.tgt: Check with_gnu_ld wrt have_tls optimizations.
1244
        * Makefile.in, aclocal.m4, configure: Rebuild.
1245
 
1246
        * config/linux/mutex.c: Include libgomp.h instead of mutex.h.
1247
        (gomp_mutex_unlock_slow): Fix typo.
1248
        * config/linux/sem.c: Similarly.
1249
        (gomp_sem_post_slow): Fix typo.
1250
        * config/linux/sem.h (gomp_sem_post_slow): Fix typo.
1251
        * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code.
1252
        [__PIC__] (sys_futex0): Don't use tmp output in asm.
1253
 
1254
        * Makefile.am (AM_CFLAGS): Expand with XCFLAGS.
1255
        (libgomp_la_LDFLAGS): Add top_srcdir to path.
1256
        * acinclude.m4: Copy libtool.m4 stuff from libgfortran.
1257
        * configure.ac: Check for getloadavg.  Substitute XCFLAGS and
1258
        XLDFLAGS.  Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS.
1259
        * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and
1260
        LDFLAGS.  Pull enable_futex check to top-level.
1261
        * libgomp.h: Fix sem.h and mutex.h includes.  Define ATTRIBUTE_HIDDEN.
1262
        * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1263
 
1264
        First attempt at real configury.
1265
        * Makefile, config.h: Remove file.
1266
        * Makefile.am, Makefile.in: New file.
1267
        * acinclude.m4 aclocal.m4: New file.
1268
        * configure.ac, configure.tgt, configure: New file.
1269
 
1270
        * config/posix/lock.c: Rename from sys-lock.c.
1271
        * config/posix/mutex.h: Rename from sys-mutex.h.
1272
        * config/posix/sem.c: Rename from sys-sem.c.
1273
        * config/posix/sem.h: Rename from sys-sem.h.
1274
        * config/posix/proc.c: Rename from sys-proc.c.
1275
        * config/posix/time.c: Rename from sys-proc.c.
1276
 
1277
        * config/linux/mutex.c: New file.
1278
        * config/linux/mutex.h: New file.
1279
        * config/linux/sem.c: New file.
1280
        * config/linux/sem.h: New file.
1281
        * config/linux/i486/futex.h: New file.
1282
        * config/linux/x86_64/futex.h: New file.
1283
 
1284
2005-05-04  Richard Henderson  
1285
 
1286
        * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New.
1287
        * libgomp.h: Declare them.
1288
        * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start,
1289
        gomp_loop_dynamic_next, gomp_loop_guided_next): Use them.
1290
 
1291
2005-05-04  Richard Henderson  
1292
 
1293
        * libgomp-1 code drop
1294
 
1295
2005-05-04  Richard Henderson  
1296
 
1297
        * iter.c (gomp_iter_static_next): Return tri-state on 0.
1298
        * ordered.c (gomp_ordered_static_next): Remove not_last argument.
1299
        * libgomp.h (struct gomp_team_state): Make static_trip unsigned.
1300
        (gomp_iter_static_next): Update.
1301
        (gomp_ordered_static_next): Update.
1302
        * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next.
1303
        (gomp_loop_ordered_static_start): Likewise.  Exit early for a
1304
        totally empty range.
1305
        (gomp_loop_ordered_static_next): Refine test for calling
1306
        gomp_ordered_static_next.
1307
        * testsuite/ordered-1.c: Add case for more threads than iterations.
1308
 
1309
        * iter.c (gomp_iter_runtime_next_locked): Remove.
1310
        * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start,
1311
        gomp_loop_guided_start, gomp_loop_ordered_static_start,
1312
        gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start,
1313
        gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next,
1314
        gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next,
1315
        gomp_loop_ordered_guided_next): Downcase name, make static, add
1316
        an external alias with the old name.
1317
        (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start,
1318
        GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a
1319
        switch and call one of the above static functions.
1320
        * libgomp.h: Update.
1321
 
1322
        * work.c (gomp_work_share_start): Lock the mutex for !first too.
1323
        * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start,
1324
        GOMP_loop_guided_start, GOMP_loop_runtime_start,
1325
        GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
1326
        GOMP_loop_ordered_guided_start): Update to match.
1327
        * sections.c (GOMP_sections_start): Likewise.
1328
        * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise.
1329
 
1330
        * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
1331
        gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//.
1332
        Use bounds check instead of modulus.
1333
        (gomp_ordered_sync): Split out of GOMP_ordered_start.
1334
        (gomp_ordered_last): Don't sync with ordered_owner here.
1335
        (gomp_ordered_next): Likewise.
1336
        (gomp_ordered_static_loop_next): Likewise.
1337
        * loop.c, libgomp.h: Update to match.
1338
 
1339
        * libgomp.h (GOMP_barrier): Declare.
1340
 
1341
        * testsuite/barrier-1.c: New file.
1342
        * testsuite/critical-1.c: New file.
1343
        * testsuite/ordered-2.c: New file.
1344
        * testsuite/ordered-1.c: New file.
1345
        * testsuite/sections-1.c: New file.
1346
        * testsuite/single-1.c: New file.
1347
        * testsuite/Makefile (TESTS): Add them.
1348
 
1349
2005-05-04  Richard Henderson  
1350
 
1351
        * libgomp.h (struct gomp_work_share): Add ordered_owner.
1352
        * loop.c (GOMP_loop_static_start): If not the startup thread,
1353
        acquire the mutex to wait for initialization complete.
1354
        (GOMP_loop_ordered_static_start): Likewise.
1355
        (GOMP_loop_ordered_runtime_start): Likewise.
1356
        (GOMP_loop_ordered_static_first): Remove.
1357
        (GOMP_loop_ordered_dynamic_first): Remove.
1358
        (GOMP_loop_ordered_guided_first): Remove.
1359
        (GOMP_loop_ordered_runtime_first): Remove.
1360
        * ordered.c (gomp_ordered_loop_first): Post to own release when
1361
        we're the first thread.
1362
        (gomp_ordered_loop_last): Wait on release if not owner.
1363
        (gomp_ordered_loop_next): Likewise.
1364
        (gomp_ordered_static_loop_init): New.
1365
        (gomp_ordered_static_loop_next): Use ordered_owner.
1366
        (GOMP_ordered_start): Likewise.
1367
        * work.c (gomp_new_work_share): Initialize ordered_owner.
1368
 
1369
2005-05-03  Richard Henderson  
1370
 
1371
        * Makefile (OPT): New.
1372
        (CFLAGS): Use it.
1373
 
1374
        * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New.
1375
        * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New.
1376
        * libgomp.h, libgomp.map, NOTES: Update to match.
1377
 
1378
        * team.c (struct gomp_thread_start_data): Remove ts, fn, data.
1379
        Add initialized and thr members.
1380
        (gomp_thread_start): Pause when initially spawned to wait for
1381
        the whole team to be created.
1382
        (gomp_team_start): Release team members at the end.
1383
 
1384
        * testsuite/loop-1.c (N): New.  Use it instead of hardcoded 100.
1385
        (f_foo_1): Use GOMP_loop_end.
1386
        (f_foo_2): Use GOMP_loop_end_nowait.
1387
 
1388
        * testsuite/loop-2.c: New file.
1389
        * testsuite/Makefile (TESTS): Add it.
1390
 
1391
2005-05-03  Richard Henderson  
1392
 
1393
        * iter.c (gomp_iter_static_next): Fix overflow check typo.
1394
        (gomp_iter_dynamic_next_locked): Fix overflow check thinko.
1395
        * team.c (new_team): Initialize oldest_live_gen to 1 if no
1396
        initial work_share.
1397
 
1398
        * testsuite/Makefile: New file.
1399
        * testsuite/loop-1.c: New file.
1400
 
1401
2005-05-03  Richard Henderson  
1402
 
1403
        Initial implementation and checkin.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.