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