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