OSDN Git Service

PR libgomp/25877
[pf3gnuchains/gcc-fork.git] / libgomp / ChangeLog
1 2006-01-20  Steve Ellcey  <sje@cup.hp.com>
2
3         PR libgomp/25877
4         * team.c: Add include of alloca.h.
5         * configure.ac: Add check for alloca.h.
6         * configure: Regenerate.
7         * config.h.in: Regenerate.
8
9 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
10
11         PR fortran/25219
12         * testsuite/libgomp.fortran/pr25219.f90: New test.
13
14 2005-12-05  Uros Bizjak  <uros@kss-loka.si>
15
16         * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c,
17         testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c,
18         testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
19         testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
20         testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C,
21         testsuite/libgomp.fortran/threadprivate1.f90,
22         testsuite/libgomp.fortran/threadprivate2.f90,
23         testsuite/libgomp.fortran/threadprivate3.f90,
24         testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
25         testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
26         testsuite/libgomp.fortran/omp_parse3.f90: Change required
27         effective-target to TLS runtime.
28
29         * testsuite/libgomp.fortran/pr25162.f: Require
30         effective-target TLS runtime.
31
32 2005-12-01  Jakub Jelinek  <jakub@redhat.com>
33
34         * testsuite/libgomp.fortran/nestedfn2.f90: New test.
35         * testsuite/libgomp.c/nestedfn-3.c: New test.
36
37 2005-11-30  Jakub Jelinek  <jakub@redhat.com>
38
39         PR fortran/25162
40         * testsuite/libgomp.fortran/pr25162.f: New test.
41
42 2005-11-28  Jakub Jelinek  <jakub@redhat.com>
43
44         * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to
45         CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed.
46
47 2005-11-25  Jakub Jelinek  <jakub@redhat.com>
48
49         * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c,
50         libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in,
51         omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c,
52         single.c, team.c, work.c, config/linux/alpha/futex.h,
53         config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h,
54         config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h,
55         config/linux/powerpc/futex.h, config/linux/s390/futex.h,
56         config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h,
57         config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h,
58         config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c,
59         config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update
60         FSF address.
61
62 2005-11-18  Jakub Jelinek  <jakub@redhat.com>
63
64         * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS
65         to nodist_noinst_HEADERS.
66         * Makefile.in: Rebuilt.
67
68         * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct,
69         add integer count field.
70         * config/posix/lock.c (omp_destroy_nest_lock): Adjust for
71         omp_nest_lock_t type change.
72         (omp_init_nest_lock): Likewise.  Initialize count to 0.
73         (omp_set_nest_lock): Adjust for omp_nest_lock_t type change.
74         Increment count.
75         (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change.
76         Decrement count.
77         (omp_test_nest_lock): Adjust for omp_nest_lock_t type change.
78         Increment count if successful and return the new nesting level.
79         * config/linux/lock.c (omp_test_nest_lock): Return new nesting level.
80         * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type.
81         * testsuite/libgomp.c/lib-1.c: New test.
82         * testsuite/libgomp.fortran/lib1.f90: New test.
83         * testsuite/libgomp.fortran/lib2.f: New test.
84         * testsuite/libgomp.fortran/lib3.f: New test.
85
86 2005-11-17  Richard Henderson  <rth@redhat.com>
87
88         PR 24845
89         * Makefile.am (nodist_toolexeclib_HEADERS): New.
90         * configure.ac (link_gomp): New.  Substitute it.
91         (AC_CONFIG_FILES): Add libgomp.spec.
92         * libgomp.spec.in: New file.
93         * Makefile.in, testsuite/Makefile.in, configure: Rebuild.
94         * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags.
95
96 2005-11-18  Jakub Jelinek  <jakub@redhat.com>
97
98         * testsuite/libgomp.fortran/reduction1.f90: Adjust for
99         reduction(-:var) behaving the same as reduction(+:var).
100         * testsuite/libgomp.c/reduction-4.c: New test.
101
102 2005-11-15  Uros Bizjak  <uros@kss-loka.si>
103
104         * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c,
105         testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c,
106         testsuite/libgomp.c/copyin-3.c,
107         testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C,
108         testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C,
109         testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C,
110         testsuite/libgomp.c++/pr24455.C,
111         testsuite/libgomp.fortran/threadprivate1.f90,
112         testsuite/libgomp.fortran/threadprivate2.f90,
113         testsuite/libgomp.fortran/threadprivate3.f90,
114         testsuite/libgomp.fortran/appendix-a/a.22.7.f9,
115         testsuite/libgomp.fortran/appendix-a/a.22.8.f9,
116         testsuite/libgomp.fortran/omp_parse3.f90: Require
117         effective-target TLS.
118
119 2005-11-14  Diego Novillo  <dnovillo@redhat.com>
120
121         * HEADER: Remove.
122
123 2005-11-13  Jakub Jelinek  <jakub@redhat.com>
124
125         PR libgomp/24797
126         * team.c (initialize_team): Pass NULL rather than free as
127         pthread_key_create destructor.  Initialize thread specific data
128         pointer in initial thread to a static local variable rather than
129         malloced memory.
130
131 2005-11-11  Uros Bizjak  <uros@kss-loka.si>
132
133         * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append
134         its location to ld_library_path.
135
136 2005-11-10  Diego Novillo  <dnovillo@redhat.com>
137
138         * testsuite/libgomp.c/c.exp: Rename from dg.exp.
139
140 2005-11-10  Diego Novillo  <dnovillo@redhat.com>
141
142         * testsuite/libgomp.c: Rename from libgomp.dg.
143
144 2005-11-09  Diego Novillo  <dnovillo@redhat.com>
145
146         * testsuite/libgomp.c++/pr24455.C: Add copyin clause for
147         threadprivate variable 'i'.
148
149 2005-11-09  Jakub Jelinek  <jakub@redhat.com>
150
151         * config/linux/s390/futex.h: New file.
152         * configure.tgt: Use it.
153
154         * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization
155         before the parallel.
156
157 2005-11-08  Jakub Jelinek  <jakub@redhat.com>
158
159         PR c++/24734
160         * testsuite/libgomp.c++/master-1.C: New test.
161
162 2005-11-07  Jakub Jelinek  <jakub@redhat.com>
163
164         * testsuite/libgomp.dg/copyin-3.c: New test.
165
166 2005-11-07  Jakub Jelinek  <jakub@redhat.com>
167
168         * testsuite/libgomp.fortran/retval1.f90: New test.
169         * testsuite/libgomp.fortran/vla7.f90: New test.
170
171 2005-11-06  Jakub Jelinek  <jakub@redhat.com>
172
173         * testsuite/libgomp.fortran/vla2.f90: New test.
174         * testsuite/libgomp.fortran/vla3.f90: New test.
175         * testsuite/libgomp.fortran/vla4.f90: New test.
176         * testsuite/libgomp.fortran/vla5.f90: New test.
177         * testsuite/libgomp.fortran/vla6.f90: New test.
178
179 2005-11-01  Jakub Jelinek  <jakub@redhat.com>
180
181         * config/linux/sparc/futex.h: New file.
182         * configure.tgt: Use it.
183         * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing.
184
185         * critical.c: Include stdlib.h.
186         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about
187         ignoring return value.
188         * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after
189         LIBGOMP_CHECK_SYNC_BUILTINS check.
190         * configure: Rebuilt.
191
192 2005-10-31  Jakub Jelinek  <jakub@redhat.com>
193
194         * testsuite/libgomp.fortran/vla1.f90: New test.
195
196 2005-10-31  Richard Henderson  <rth@redhat.com>
197
198         * testsuite/libgomp.fortran/character2.f90: Fix race condition
199         setting 's' in different threads.
200
201 2005-10-31  Jakub Jelinek  <jakub@redhat.com>
202
203         * libgomp.h (attribute_hidden, ialias): Define.
204         * config/posix/proc.c (omp_get_num_procs): Add ialias.
205         * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise.
206         * config/posix/lock.c (omp_init_lock, omp_init_nest_lock,
207         omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
208         omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
209         omp_test_lock, omp_test_nest_lock): Likewise.
210         * config/linux/lock.c (omp_init_lock, omp_init_nest_lock,
211         omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock,
212         omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock,
213         omp_test_lock, omp_test_nest_lock): Likewise.
214         * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads,
215         omp_get_dynamic, omp_get_nested): Likewise.
216         * parallel.c (omp_get_num_threads, omp_get_max_threads,
217         omp_get_thread_num, omp_in_parallel): Likewise.
218         * fortran.c (ialias_redirect): Define.
219         (omp_init_lock, omp_init_nest_lock, omp_destroy_lock,
220         omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock,
221         omp_unset_lock, omp_unset_nest_lock, omp_test_lock,
222         omp_test_nest_lock, omp_set_dynamic, omp_set_nested,
223         omp_set_num_threads, omp_get_dynamic, omp_get_nested,
224         omp_in_parallel, omp_get_max_threads, omp_get_num_procs,
225         omp_get_num_threads, omp_get_thread_num, omp_get_wtick,
226         omp_get_wtime): Add ialias_redirect.
227
228 2005-10-30  Jakub Jelinek  <jakub@redhat.com>
229
230         * fortran.c: Include stdlib.h.
231
232 2005-10-29  Jakub Jelinek  <jakub@redhat.com>
233
234         * Makefile.am (env.o, env.lo): Depend on libgomp_f.h.
235         * Makefile.in: Regenerated.
236
237 2005-10-28  Jakub Jelinek  <jakub@redhat.com>
238
239         * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE.
240         * libgomp_f.h.in (omp_check_defines): New function.
241         * env.c: Include libgomp_f.h.
242         (initialize_env): Call omp_check_defines.
243
244         * testsuite/libgomp.dg/copyin-2.c: New test.
245         * testsuite/libgomp.c++/copyin-2.C: New test.
246         * testsuite/libgomp.fortran/threadprivate3.f90: New test.
247
248         * testsuite/libgomp.fortran/threadprivate2.f90: New test.
249         * testsuite/libgomp.fortran/sharing2.f90: New test.
250
251         * testsuite/libgomp.dg/copyin-1.c: New test.
252         * testsuite/libgomp.c++/copyin-1.C: New test.
253
254 2005-10-26  Jakub Jelinek  <jakub@redhat.com>
255
256         * testsuite/libgomp.fortran/crayptr1.f90: New test.
257
258         * testsuite/libgomp.fortran/workshare1.f90: New test.
259
260         * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile
261         only test.
262         * libgomp.fortran/sharing1.f90: New test.
263
264 2005-10-24  Jakub Jelinek  <jakub@redhat.com>
265
266         PR c++/24502
267         * testsuite/libgomp.c++/loop-7.C: New test.
268
269         * testsuite/libgomp.dg/nestedfn-2.c: New test.
270
271         * testsuite/libgomp.dg/nestedfn-1.c: New test.
272         * testsuite/libgomp.fortran/reduction6.f90: New test.
273         * testsuite/libgomp.fortran/nestedfn1.f90: New test.
274
275 2005-10-23  Richard Henderson  <rth@redhat.com>
276
277         * testsuite/libgomp.c++/ctor-1.C: New.
278         * testsuite/libgomp.c++/ctor-2.C: New.
279         * testsuite/libgomp.c++/ctor-3.C: New.
280         * testsuite/libgomp.c++/ctor-4.C: New.
281         * testsuite/libgomp.c++/ctor-5.C: New.
282         * testsuite/libgomp.c++/ctor-6.C: New.
283         * testsuite/libgomp.c++/ctor-7.C: New.
284         * testsuite/libgomp.c++/ctor-8.C: New.
285         * testsuite/libgomp.c++/ctor-9.C: New.
286
287 2005-10-21  Diego Novillo  <dnovillo@redhat.com>
288
289         PR 24455
290         * testsuite/libgomp.c++/pr24455-1.C: New test.
291         * testsuite/libgomp.c++/pr24455.C: New test.
292         * testsuite/libgomp.dg/pr24455-1.c: New test.
293         * testsuite/libgomp.dg/pr24455.c: New test.
294
295 2005-10-20  Richard Henderson  <rth@redhat.com>
296
297         * testsuite/libgomp.c++/loop-6.C: New.
298         * testsuite/libgomp.dg/loop-3.c: New.
299
300 2005-10-20  Jakub Jelinek  <jakub@redhat.com>
301
302         * testsuite/libgomp.fortran/jacobi.f: Don't make i and j
303         explicitly private.
304         * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i
305         explicitly shared.
306
307 2005-10-19  Diego Novillo  <dnovillo@redhat.com>
308
309         * testsuite/libgomp.fortran/jacobi.f: New test.
310
311 2005-10-19  Richard Henderson  <rth@redhat.com>
312
313         * configure.tgt (i?86-linux): Default to with_arch instead of
314         CFLAGS.  Add -mtune to match target_cpu.
315         (x86_64-linux): Tune to i686.
316
317         * fortran.c (omp_test_nest_lock_): Fix typo.
318
319 2005-10-19  Jakub Jelinek  <jakub@redhat.com>
320
321         * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
322         gomp_ordered_sync): Do nothing if team->nthreads == 1.
323         * testsuite/libgomp.dg/ordered-3.c: New test.
324
325         * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort.
326         Remove volatile keyword.
327
328         * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables
329         in COMMON block to avoid warnings on 64-bit targets.
330
331 2005-10-18  Diego Novillo  <dnovillo@redhat.com>
332
333         * testsuite/libgomp.dg/shared-3.c: New test.
334
335 2005-10-18  Jakub Jelinek  <jakub@redhat.com>
336
337         * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed.
338         * testsuite/libgomp.fortran/reduction5.f90: New test.
339
340 2005-10-18  Jakub Jelinek  <jakub@redhat.com>
341
342         * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to
343         dg-options.
344         * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise.  Enable
345         flush loop now that __sync_synchronize has proper memory barrier.
346         * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo.
347         Add -ffixed-form to dg-options.
348
349 2005-10-17  Diego Novillo  <dnovillo@redhat.com>
350
351         * testsuite/libgomp.fortran/fortran.exp: Also gather tests
352         from subdirectories.
353         * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test.
354         * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test.
355         * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test.
356         * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test.
357         * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test.
358         * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test.
359         * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test.
360         * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test.
361         * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test.
362         * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test.
363         * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test.
364         * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test.
365         * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test.
366         * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test.
367         * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test.
368         * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test.
369         * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test.
370         * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test.
371         * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test.
372         * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test.
373         * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test.
374         * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test.
375         * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test.
376         * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test.
377         * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test.
378
379 2005-10-17  Jakub Jelinek  <jakub@redhat.com>
380
381         * testsuite/libgomp.dg/dg.exp: Only unset lang_* if
382         lang_library_path exists.  Use find instead of glob to gather tests.
383         * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed.
384
385 2005-10-17  Diego Novillo  <dnovillo@redhat.com>
386
387         * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test.
388         * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test.
389         * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test.
390         * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test.
391         * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test.
392         * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test.
393         * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test.
394         * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test.
395         * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test.
396         * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test.
397         * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test.
398         * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test.
399         * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file.
400
401 2005-10-15  Jakub Jelinek  <jakub@redhat.com>
402
403         * testsuite/libgomp.dg/vla-1.c: New test.
404
405         * testsuite/libgomp.fortran/reference2.f90: New test.
406
407         * testsuite/libgomp.fortran/character2.f90: Remove explicit
408         declaration of omp_get_thread_num.
409         * testsuite/libgomp.fortran/threadprivate1.f90: Likewise.  Add
410         use omp_lib.
411
412         * testsuite/libgomp.fortran/reduction1.f90: New test.
413         * testsuite/libgomp.fortran/reduction2.f90: New test.
414         * testsuite/libgomp.fortran/reduction3.f90: New test.
415         * testsuite/libgomp.fortran/reduction4.f90: New test.
416
417 2005-10-13  Richard Henderson  <rth@redhat.com>
418
419         * Makefile.am (libgomp_la_SOURCES): Add bar.c.
420         * Makefile.in: Regenerate.
421         * barrier.c (GOMP_barrier): Use gomp_barrier_wait.
422         * libgomp.h: Include bar.h.
423         (struct gomp_barrier): Remove.
424         (struct gomp_team): Add barrier.  Replace master_barrier with
425         master_release.  Replace threads with ordered_release.
426         (struct gomp_thread): Replace barrier with release.
427         * ordered.c (gomp_ordered_first): Update for ordered_release change.
428         (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init,
429         gomp_ordered_static_next, gomp_ordered_sync): Likewise.
430         * single.c (GOMP_single_copy_start): Use gomp_barrier_wait.
431         (GOMP_single_copy_end): Likewise.
432         * team.c (gomp_threads_dock): New.
433         (gomp_barrier_init, gomp_barrier_destroy): Remove.
434         (gomp_thread_start): Use gomp_barrier_wait.
435         (new_team, free_team): Update for gomp_team changes.
436         (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit.
437         (gomp_team_end): Use gomp_barrier_wait.
438         (initialize_team): Update for gomp_thread changes.
439         * work.c (gomp_work_share_end): Use gomp_barrier_wait_start.
440         (gomp_work_share_end_nowait): Use atomic ops when available.
441         * config/linux/bar.c, config/linux/bar.h: New files.
442         * config/posix/bar.c, config/posix/bar.h: New files.
443
444 2005-10-13  Jakub Jelinek  <jakub@redhat.com>
445
446         * single.c (GOMP_single_copy_end): Don't segfault if team is NULL.
447         * testsuite/libgomp.dg/single-2.c: New test.
448
449         * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file,
450         lang_link_flags): Unset, so that they aren't inherited from previously
451         sourced *.exp.
452
453         * testsuite/libgomp.fortran/threadprivate1.f90: New test.
454
455 2005-10-12  Richard Henderson  <rth@redhat.com>
456
457         * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel.
458         (libgomp_init): Use lang_test_file, lang_library_path, and
459         lang_link_flags, set by the subdirectory files.  Add -fopenmp here.
460
461         * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New.
462         (lang_test_file, lang_link_flags): New.
463         (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove.
464
465         * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C,
466         testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C,
467         testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C,
468         testsuite/libgomp.c++/parallel-1.C,
469         testsuite/libgomp.c++/reduction-1.C,
470         testsuite/libgomp.c++/reduction-2.C,
471         testsuite/libgomp.c++/reduction-3.C,
472         testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C,
473         testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C,
474         testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C:
475         New files, largely cribbed from the C testsuite.
476
477 2005-10-12  Jakub Jelinek  <jakub@redhat.com>
478
479         * testsuite/libgomp.fortran/character1.f90: New test.
480         * testsuite/libgomp.fortran/character2.f90: New test.
481
482         * testsuite/libgomp.dg/nested-1.c: New test.
483         * testsuite/libgomp.dg/nested-2.c: New test.
484         * testsuite/libgomp.fortran/do1.f90: New test.
485         * testsuite/libgomp.fortran/do2.f90: New test.
486
487         * testsuite/libgomp.fortran/reference1.f90: New test.
488
489 2005-10-11  Jakub Jelinek  <jakub@redhat.com>
490
491         * testsuite/libgomp.dg/reduction-1.c: New test.
492         * testsuite/libgomp.dg/reduction-2.c: New test.
493         * testsuite/libgomp.dg/reduction-3.c: New test.
494
495 2005-10-10  Jakub Jelinek  <jakub@redhat.com>
496
497         * testsuite/libgomp.dg/atomic-1.c: New test.
498         * testsuite/libgomp.dg/atomic-2.c: New test.
499
500 2005-10-09  Richard Henderson  <rth@redhat.com>
501
502         * critical.c (atomic_lock): New.
503         (initialize_critical): Initialize it.
504         (GOMP_atomic_start, GOMP_atomic_end): New.
505         * libgomp.map: Export them.
506         * libgomp_g.h: Declare them.
507
508         * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite.
509
510 2005-10-02  Richard Henderson  <rth@redhat.com>
511
512         * configure.ac: Move save_CFLAGS hack earlier.  Append -Wall/-Werror
513         to XCFLAGS instead of CFLAGS.
514
515 2005-09-30  Richard Henderson  <rth@redhat.com>
516
517         * configure.ac: Determine whether -pthread or -lpthread is needed.
518         * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread.
519         * Makefine.in, configure: Rebuild.
520
521 2005-09-28  Richard Henderson  <rth@redhat.com>
522
523         * testsuite/libgomp.dg/omp-loop03.c: Fix return code.
524         * testsuite/libgomp.dg/omp-single-3.c: New test.
525
526 2005-09-28  Diego Novillo  <dnovillo@redhat.com>
527
528         * testsuite/libgomp.dg/omp-single-2.c: New test.
529         * testsuite/libgomp.dg/shared-2.c: Fix return code.
530
531 2005-09-27  Richard Henderson  <rth@redhat.com>
532
533         * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier.
534         * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule.
535
536 2005-09-27  Jakub Jelinek  <jakub@redhat.com>
537
538         * testsuite/libgomp.dg/omp-loop03.c: New test.
539
540 2005-09-27  Diego Novillo  <dnovillo@redhat.com>
541
542         * testsuite/libgomp.dg/omp-parallel-for.c: New test.
543
544 2005-09-27  Diego Novillo  <dnovillo@redhat.com>
545
546         * testsuite/libgomp.dg/omp-single-1.c: New test.
547         * testsuite/libgomp.dg/shared-1.c: Return 0.
548         Add prototype for abort.
549         * testsuite/libgomp.dg/shared-2.c: Likewise.
550
551 2005-09-26  Jakub Jelinek  <jakub@redhat.com>
552
553         * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming
554         constructs.
555
556 2005-09-26  Diego Novillo  <dnovillo@redhat.com>
557
558         * testsuite/libgomp.dg/shared-1.c: New test.
559         * testsuite/libgomp.dg/shared-2.c: New test.
560
561 2005-09-24  Richard Henderson  <rth@redhat.com>
562
563         * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error.
564
565 2005-09-24  Richard Henderson  <rth@redhat.com>
566
567         * iter.c (gomp_iter_static_next): Round up when computing number
568         of iterations.  Don't bother distributing a remainder equally.
569
570         * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main.
571         Don't call srand.  Zero b before testing.
572         (main): New.
573
574 2005-09-24  Jakub Jelinek  <jakub@redhat.com>
575
576         * testsuite/libgomp.fortran/omp_atomic1.f90: New test.
577         * testsuite/libgomp.fortran/omp_atomic2.f90: New test.
578
579 2005-09-23  Jakub Jelinek  <jakub@redhat.com>
580
581         * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do
582         without !$omp end do, followed immediately by subroutine end.
583
584 2005-09-23  Diego Novillo  <dnovillo@redhat.com>
585
586         * testsuite/libgomp.dg/omp-parallel-if.c: New test.
587
588 2005-09-22  Richard Henderson  <rth@redhat.com>
589
590         * critical.c (GOMP_critical_name_start): Change argument to void**.
591         Reuse the pointer space if the mutex fits.
592         (GOMP_critical_name_end): Likewise.
593         (initialize_critical): Don't define if GOMP_MUTEX_INIT_0.
594         * libgomp_g.h (GOMP_critical_name_start): Update decl.
595         (GOMP_critical_name_end): Likewise.
596         * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New.
597         * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New.
598
599 2005-09-20  Richard Henderson  <rth@redhat.com>
600
601         * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New.
602         (create_lock_lock): New.
603         (initialize_critical): Initialize it.
604         * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New.
605         * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare.
606
607 2005-09-20  Diego Novillo  <dnovillo@redhat.com>
608
609         * testsuite/libgom.dg/omp-loop01.c: Include stdio.h.
610
611 2005-09-20  Diego Novillo  <dnovillo@redhat.com>
612
613         * testsuite/libgomp.dg/omp-loop01.c: New test.
614         * testsuite/libgomp.dg/omp-loop02.c: New test.
615
616 2005-09-20  Jakub Jelinek  <jakub@redhat.com>
617
618         * configure.ac (AC_PROG_FC): Add.
619         (USE_FORTRAN): New automake conditional.
620         * configure: Rebuilt.
621         * Makefile.am (libgomp_la_SOURCES): Add fortran.c.
622         (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h.
623         If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod.
624         Add rules to build them.
625         * Makefile.in: Rebuilt.
626         * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and
627         OMP_NEST_LOCK_KIND.
628         * libgomp.map: Add Fortran wrappers.
629         * libgomp_f.h.in: New file.
630         * omp_lib.h.in: New file.
631         * omp_lib.f90.in: New file.
632         * fortran.c: New file.
633         * testsuite/lib/libgomp-dg.exp: Load a few more .exp files.
634         Append libgfortran directory to LD_LIBRARY_PATH if it exists.
635         Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if
636         libgfortran has been built.
637         * testsuite/libgomp.fortran/fortran.exp: New file.
638         * testsuite/libgomp.fortran/omp_cond1.f: New test.
639         * testsuite/libgomp.fortran/omp_cond2.f: New test.
640         * testsuite/libgomp.fortran/omp_cond3.F90: New test.
641         * testsuite/libgomp.fortran/omp_cond4.F90: New test.
642         * testsuite/libgomp.fortran/omp_hello.f: New test.
643         * testsuite/libgomp.fortran/omp_orphan.f: New test.
644         * testsuite/libgomp.fortran/omp_parse1.f90: New test.
645         * testsuite/libgomp.fortran/omp_parse2.f90: New test.
646         * testsuite/libgomp.fortran/omp_parse3.f90: New test.
647         * testsuite/libgomp.fortran/omp_parse4.f90: New test.
648         * testsuite/libgomp.fortran/omp_reduction.f: New test.
649         * testsuite/libgomp.fortran/omp_workshare1.f: New test.
650         * testsuite/libgomp.fortran/omp_workshare2.f: New test.
651
652 2005-08-30  Richard Henderson  <rth@redhat.com>
653
654         * loop.c (GOMP_loop_static_start): Provide fallback wrapper
655         function for when aliases are not usable.
656         (GOMP_loop_dynamic_start, GOMP_loop_guided_start,
657         GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
658         GOMP_loop_ordered_guided_start, GOMP_loop_static_next,
659         GOMP_loop_dynamic_next, GOMP_loop_guided_next,
660         GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next,
661         GOMP_loop_ordered_guided_next): Likewise.
662         * ordered.c (GOMP_ordered_start): Likewise.
663
664 2005-08-01  Diego Novillo  <dnovillo@redhat.com>
665
666         * testsuite/libgomp.dg/dg.exp: Use -O2 for now.
667         * testsuite/libgomp.dg/omp_hello.c: Fix return code
668         * testsuite/libgomp.dg/omp_matvec.c: Likewise.
669         * testsuite/libgomp.dg/omp_orphan.c: Likewise
670         * testsuite/libgomp.dg/omp_reduction.c: Likewise
671         * testsuite/libgomp.dg/omp_workshare1.c: Likewise
672         * testsuite/libgomp.dg/omp_workshare2.c: Likewise
673         * testsuite/libgomp.dg/omp_workshare3.c: Likewise
674         * testsuite/libgomp.dg/omp_workshare4.c: Likewise
675
676 2005-07-07  Eric Christopher  <echristo@redhat.com>
677             Diego Novillo  <dnovillo@redhat.com>
678
679         * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS.
680         * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix
681         up code.
682         * testsuite/libgomp.dg/omp_matvec.c: Ditto.
683         * testsuite/libgomp.dg/omp_orphan.c: Ditto.
684         * testsuite/libgomp.dg/omp_reduction.c: Ditto.
685         * testsuite/libgomp.dg/omp_workshare1.c: Ditto.
686         * testsuite/libgomp.dg/omp_workshare2.c: Ditto.
687         * testsuite/libgomp.dg/omp_workshare3.c: Ditto.
688         * testsuite/libgomp.dg/omp_workshare4.c: Ditto.
689
690 2005-06-13  Diego Novillo  <dnovillo@redhat.com>
691
692         * TOPLEVEL.patch: Remove.
693
694 2005-05-16  Richard Henderson  <rth@redhat.com>
695
696         * configure.ac: Test for clock_gettime.
697         * config.h.in, configure: Rebuild.
698         * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern.
699         (omp_get_wtime): Use clock_gettime if available.
700         (omp_get_wtick): Use clock_getres if available.
701
702 2005-05-11  Richard Henderson  <rth@redhat.com>
703
704         * config/linux/ia64/futex.h: New file.
705         * configure.tgt: Use it.
706
707         * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline.
708
709 2005-05-07  Richard Henderson  <rth@redhat.com>
710
711         * config/linux/powerpc/futex.h: New file.
712         * configure.tgt: Use it.
713
714         * config/linux/i486/futex.h: Merge ...
715         * config/linux/x86_64/futex.h: ... into ...
716         * config/linux/x86/futex.h: ... here.
717         * configure.tgt: Update to match.
718
719 2005-05-06  Richard Henderson  <rth@redhat.com>
720
721         * config/linux/alpha/futex.h: Conditionally define SYS_futex.
722         * config/linux/i486/futex.h: Likewise.
723         * config/linux/x86_64/futex.h: Likewise.
724
725         * config/linux/lock.c: New file.
726         * config/linux/omp-lock.h: New file.
727
728         * critical.c, env.h: Don't include omp.h
729         * config/posix/lock.c: Include libgomp.h instead of omp.h.
730         * config/posix/time.c: Likewise.
731         * config/posix/omp-lock.h: New file.
732         * libgomp.h: Include omp-lock.h and omp.h.
733         * Makefile.am (nodist_include_HEADERS): New.
734         (omp.h): New rule.
735         * configure.ac (PERL): New.
736         * mkomp_h.pl: New file.
737         * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t
738         with templates.
739         * Makefile.in, configure, testsuite/Makefile.in: Rebuild.
740
741         * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into
742         build directory.  Re-add -march=i486 hack.
743
744         * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove.
745         (libgomp_link_flags): Remove.
746         (libgomp_initialized): Remove.
747         (libgomp_init): Don't protect from reinitialization.  Copy code
748         from libstdc++ for getting the multilib set correctly.
749
750 2005-05-05  Richard Henderson  <rth@redhat.com>
751
752         * config/linux/alpha/futex.h: New file.
753         * configure.tgt (alpha*-*-linux*): Use it.
754
755         * config/posix/mutex.c: New file.
756         * config/posix/sem.c: Use libgomp.h.
757
758         * configure.tgt (x86_64-linux): Also test CC for -m32.
759         * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage.
760
761         * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add / 
762         after $gccpath.
763
764         * Makefile.am (SUBDIRS): New.
765         (libgomp_la_LDFLAGS): Add -lpthread.
766         * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies.
767         * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild.
768
769         * libgomp_g.h: New file.
770         * libgomp.h: Split out all public declarations to libgomp_g.h.
771         Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN.
772         * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN.
773         * config/linux/sem.h: Likewise.
774         * config/posix/sem.h: Likewise.
775
776         * Makefile.am (AM_LDFLAGS): New.
777         (libgomp_version_script): Split out from ...
778         (libgomp_la_LDFLAGS): ... here.
779         (libgomp_version_info): New.
780         * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE.
781         (LIBGOMP_ENABLE): New.
782         (LIBGOMP_CHECK_LINKER_FEATURES): New.
783         (LIBGOMP_ENABLE_SYMVERS): New.
784         * configure.ac (AC_INIT): Version 1.0.
785         (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE.
786         (enable-linux-futex): Likewise.  Rename from enable-futex.
787         (libtool_VERSION): New.
788         (LIBGOMP_ENABLE_SYMVERS): Use it.
789         * configure.tgt: Check with_gnu_ld wrt have_tls optimizations.
790         * Makefile.in, aclocal.m4, configure: Rebuild.
791
792         * config/linux/mutex.c: Include libgomp.h instead of mutex.h.
793         (gomp_mutex_unlock_slow): Fix typo.
794         * config/linux/sem.c: Similarly.
795         (gomp_sem_post_slow): Fix typo.
796         * config/linux/sem.h (gomp_sem_post_slow): Fix typo.
797         * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code.
798         [__PIC__] (sys_futex0): Don't use tmp output in asm.
799
800         * Makefile.am (AM_CFLAGS): Expand with XCFLAGS.
801         (libgomp_la_LDFLAGS): Add top_srcdir to path.
802         * acinclude.m4: Copy libtool.m4 stuff from libgfortran.
803         * configure.ac: Check for getloadavg.  Substitute XCFLAGS and
804         XLDFLAGS.  Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS.
805         * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and
806         LDFLAGS.  Pull enable_futex check to top-level.
807         * libgomp.h: Fix sem.h and mutex.h includes.  Define ATTRIBUTE_HIDDEN.
808         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
809
810         First attempt at real configury.
811         * Makefile, config.h: Remove file.
812         * Makefile.am, Makefile.in: New file.
813         * acinclude.m4 aclocal.m4: New file.
814         * configure.ac, configure.tgt, configure: New file.
815
816         * config/posix/lock.c: Rename from sys-lock.c.
817         * config/posix/mutex.h: Rename from sys-mutex.h.
818         * config/posix/sem.c: Rename from sys-sem.c.
819         * config/posix/sem.h: Rename from sys-sem.h.
820         * config/posix/proc.c: Rename from sys-proc.c.
821         * config/posix/time.c: Rename from sys-proc.c.
822
823         * config/linux/mutex.c: New file.
824         * config/linux/mutex.h: New file.
825         * config/linux/sem.c: New file.
826         * config/linux/sem.h: New file.
827         * config/linux/i486/futex.h: New file.
828         * config/linux/x86_64/futex.h: New file.
829
830 2005-05-04  Richard Henderson  <rth@redhat.com>
831
832         * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New.
833         * libgomp.h: Declare them.
834         * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start,
835         gomp_loop_dynamic_next, gomp_loop_guided_next): Use them.
836
837 2005-05-04  Richard Henderson  <rth@redhat.com>
838
839         * libgomp-1 code drop
840
841 2005-05-04  Richard Henderson  <rth@redhat.com>
842
843         * iter.c (gomp_iter_static_next): Return tri-state on 0.
844         * ordered.c (gomp_ordered_static_next): Remove not_last argument.
845         * libgomp.h (struct gomp_team_state): Make static_trip unsigned.
846         (gomp_iter_static_next): Update.
847         (gomp_ordered_static_next): Update.
848         * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next.
849         (gomp_loop_ordered_static_start): Likewise.  Exit early for a
850         totally empty range.
851         (gomp_loop_ordered_static_next): Refine test for calling
852         gomp_ordered_static_next.
853         * testsuite/ordered-1.c: Add case for more threads than iterations.
854
855         * iter.c (gomp_iter_runtime_next_locked): Remove.
856         * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start,
857         gomp_loop_guided_start, gomp_loop_ordered_static_start, 
858         gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start,
859         gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next,
860         gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next,
861         gomp_loop_ordered_guided_next): Downcase name, make static, add
862         an external alias with the old name.
863         (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start,
864         GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a
865         switch and call one of the above static functions.
866         * libgomp.h: Update.
867
868         * work.c (gomp_work_share_start): Lock the mutex for !first too.
869         * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start,
870         GOMP_loop_guided_start, GOMP_loop_runtime_start,
871         GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start,
872         GOMP_loop_ordered_guided_start): Update to match.
873         * sections.c (GOMP_sections_start): Likewise.
874         * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise.
875
876         * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next,
877         gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//.
878         Use bounds check instead of modulus.
879         (gomp_ordered_sync): Split out of GOMP_ordered_start.
880         (gomp_ordered_last): Don't sync with ordered_owner here.
881         (gomp_ordered_next): Likewise.
882         (gomp_ordered_static_loop_next): Likewise.
883         * loop.c, libgomp.h: Update to match.
884
885         * libgomp.h (GOMP_barrier): Declare.
886
887         * testsuite/barrier-1.c: New file.
888         * testsuite/critical-1.c: New file.
889         * testsuite/ordered-2.c: New file.
890         * testsuite/ordered-1.c: New file.
891         * testsuite/sections-1.c: New file.
892         * testsuite/single-1.c: New file.
893         * testsuite/Makefile (TESTS): Add them.
894
895 2005-05-04  Richard Henderson  <rth@redhat.com>
896
897         * libgomp.h (struct gomp_work_share): Add ordered_owner.
898         * loop.c (GOMP_loop_static_start): If not the startup thread,
899         acquire the mutex to wait for initialization complete.
900         (GOMP_loop_ordered_static_start): Likewise.
901         (GOMP_loop_ordered_runtime_start): Likewise.
902         (GOMP_loop_ordered_static_first): Remove.
903         (GOMP_loop_ordered_dynamic_first): Remove.
904         (GOMP_loop_ordered_guided_first): Remove.
905         (GOMP_loop_ordered_runtime_first): Remove.
906         * ordered.c (gomp_ordered_loop_first): Post to own release when
907         we're the first thread.
908         (gomp_ordered_loop_last): Wait on release if not owner.
909         (gomp_ordered_loop_next): Likewise.
910         (gomp_ordered_static_loop_init): New.
911         (gomp_ordered_static_loop_next): Use ordered_owner.
912         (GOMP_ordered_start): Likewise.
913         * work.c (gomp_new_work_share): Initialize ordered_owner.
914
915 2005-05-03  Richard Henderson  <rth@redhat.com>
916
917         * Makefile (OPT): New.
918         (CFLAGS): Use it.
919
920         * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New.
921         * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New.
922         * libgomp.h, libgomp.map, NOTES: Update to match.
923
924         * team.c (struct gomp_thread_start_data): Remove ts, fn, data.
925         Add initialized and thr members.
926         (gomp_thread_start): Pause when initially spawned to wait for
927         the whole team to be created.
928         (gomp_team_start): Release team members at the end.
929
930         * testsuite/loop-1.c (N): New.  Use it instead of hardcoded 100.
931         (f_foo_1): Use GOMP_loop_end.
932         (f_foo_2): Use GOMP_loop_end_nowait.
933
934         * testsuite/loop-2.c: New file.
935         * testsuite/Makefile (TESTS): Add it.
936
937 2005-05-03  Richard Henderson  <rth@redhat.com>
938
939         * iter.c (gomp_iter_static_next): Fix overflow check typo.
940         (gomp_iter_dynamic_next_locked): Fix overflow check thinko.
941         * team.c (new_team): Initialize oldest_live_gen to 1 if no
942         initial work_share.
943
944         * testsuite/Makefile: New file.
945         * testsuite/loop-1.c: New file.
946
947 2005-05-03  Richard Henderson  <rth@redhat.com>
948
949         Initial implementation and checkin.