OSDN Git Service

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