aboutsummaryrefslogtreecommitdiff
path: root/libgomp
AgeCommit message (Collapse)Author
2010-10-01Mark ChangeLogGCC Administrator
From-SVN: r164837
2010-06-10gcc/testsuite:Rainer Orth
Backport from mainline: 2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * g++.old-deja/g++.mike/eh16.C: Rename err to e. * g++.old-deja/g++.mike/eh17.C: Likewise. * g++.old-deja/g++.mike/p5571.C: Likewise. libgomp: Backport from mainline: 2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * testsuite/libgomp.c++/task-1.C: Renamed err to e. * testsuite/libgomp.c++/task-6.C: Likewise. From-SVN: r160542
2010-04-30re PR c/43893 (Error: Invalid controlling predicate with -fopenmp)Jakub Jelinek
PR c/43893 * c-omp.c (c_finish_omp_for): Handle also EQ_EXPR. * testsuite/libgomp.c/pr43893.c: New test. * testsuite/libgomp.c++/pr43893.C: New test. From-SVN: r158942
2010-04-29re PR other/43620 ([4.3 Release Blocker] Uploading to gnu.org will fail due ↵Jakub Jelinek
to automake security issue) PR other/43620 libgomp/ * configure.ac (AM_INIT_AUTOMAKE): Add no-dist option. * Makefile.in: Regenerated. libstdc++-v3/ * configure.ac (AM_INIT_AUTOMAKE): Add no-dist option. * Makefile.in: Regenerated. libgfortran/ * configure.ac (AM_INIT_AUTOMAKE): Add no-dist option. * Makefile.in: Regenerated. libmudflap/ * configure.ac (AM_INIT_AUTOMAKE): Add no-dist option. * Makefile.in: Regenerated. libffi/ * configure.ac (AM_INIT_AUTOMAKE): Add no-dist option. * Makefile.in: Regenerated. libssp/ * configure.ac (AM_INIT_AUTOMAKE): Add no-dist option. * Makefile.in: Regenerated. libjava/ * configure.ac (AM_INIT_AUTOMAKE): Add no-dist option. * Makefile.in: Regenerated. libjava/libltdl/ * Makefile.am (AUTOMAKE_OPTIONS): Add no-dist option. * Makefile.in: Regenerated. libjava/classpath/ * configure.ac (AM_INIT_AUTOMAKE): Add no-dist option. * Makefile.in: Regenerated. From-SVN: r158903
2010-04-29Mark ChangeLogGCC Administrator
From-SVN: r158861
2010-04-21re PR middle-end/43570 (OpenMP: Invalid read of size 1 ↵Jakub Jelinek
(libgomp.fortran/vla6.f90)) PR middle-end/43570 * omp-low.c (scan_sharing_clauses): Don't scan_omp_op OMP_CLAUSE_DECL for OMP_CLAUSE_COPYPRIVATE. (lower_copyprivate_clauses): Use private var in outer context instead of original var. Make sure the types are correct for VLAs. * testsuite/libgomp.fortran/vla8.f90: New test. From-SVN: r158603
2010-04-21re PR libgomp/43706 (scheduling two threads on one core leads to starvation)Jakub Jelinek
PR libgomp/43706 * config/linux/affinity.c (gomp_init_affinity): Decrease gomp_available_cpus if affinity mask confines the process to fewer CPUs. * config/linux/proc.c (get_num_procs): If gomp_cpu_affinity is non-NULL, just return gomp_available_cpus. From-SVN: r158601
2010-04-21re PR libgomp/43569 (libgomp: Conditional jump or move depends on ↵Jakub Jelinek
uninitialised value) PR libgomp/43569 * sections.c (gomp_sections_init): Initialize ws->mode. From-SVN: r158599
2010-03-22re PR libgomp/42942 (OpenMP omp_set_max_active_levels(0) isn't resetting value)Jakub Jelinek
PR libgomp/42942 * env.c (parse_unsigned_long): Add ALLOW_ZERO argument. (initialize_env): Adjust callers. (omp_set_max_active_levels): Set gomp_max_active_levels_var even when the argument is 0. * testsuite/libgomp.c/pr42942.c: New test. From-SVN: r157636
2010-01-26re PR fortran/42866 (ICE for REDUCTION with ALLOCATABLE array as variable on ↵Jakub Jelinek
SECTIONS) PR fortran/42866 * omp-low.c (expand_omp_sections): Only use single_pred if l2_bb is single_pred_p. * testsuite/libgomp.fortran/allocatable5.f90: New test. From-SVN: r156236
2010-01-21Mark ChangeLogGCC Administrator
From-SVN: r156117
2009-11-25re PR fortran/42162 (OpenMP: ICE: tree check in omp_add_variable, at ↵Jakub Jelinek
gimplify.c:5282) PR fortran/42162 * trans-openmp.c (gfc_trans_omp_do): When dovar isn't a VAR_DECL, don't use simple loop and handle clauses properly. * testsuite/libgomp.fortran/pr42162.f90: New test. From-SVN: r154656
2009-11-13re PR middle-end/42029 (ICE with complex data type and openmp for reduction ↵Jakub Jelinek
clause) PR middle-end/42029 * gimplify.c (gimplify_omp_atomic): Set DECL_GIMPLE_REG_P on tmp_load if needed. * libgomp.c/pr42029.c: New test. From-SVN: r154162
2009-10-15Mark ChangeLogGCC Administrator
From-SVN: r152806
2009-08-19re PR fortran/41102 (Ease error checking of included files located in the ↵Tobias Burnus
SYSTEM_INCLUDE_DIR/ending in .h) 2009-08-19 Tobias Burnus <burnus@net-b.de> PR fortran/41102 omp_lib.h.in: Fix -std=f95 errors. From-SVN: r150933
2009-07-22Mark ChangeLogGCC Administrator
From-SVN: r149882
2009-05-20re PR libgomp/40174 (Memory leak when using '#pragma omp parallel')Jakub Jelinek
PR libgomp/40174 * team.c (gomp_thread_start): Destroy thr->release semaphore. (gomp_free_pool_helper): Likewise. From-SVN: r147748
2009-04-21Mark ChangeLogGCC Administrator
From-SVN: r146479
2009-04-10Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.Jakub Jelinek
From-SVN: r145866
2009-04-08re PR middle-end/39573 (Linking fails on AMD with -march=native and ↵Jakub Jelinek
-fopenmp, works with generic x86_64) PR middle-end/39573 * omp-low.c (expand_omp_taskreg): Finalize taskreg static local_decls variables. * libgomp.c++/pr39573.C: New test. From-SVN: r145773
2009-04-01re PR other/39591 (GOMP_loop_end illegally optmized into GOMP_loop_end_nowait)Jakub Jelinek
PR other/39591 * omp-low.c (remove_exit_barrier): Don't optimize if there are any addressable variables in the parallel that could go out of scope while running queued tasks. * testsuite/libgomp.c/pr39591-1.c: New test. * testsuite/libgomp.c/pr39591-2.c: New test. * testsuite/libgomp.c/pr39591-3.c: New test. From-SVN: r145391
2009-03-25atomic-5.c: Cleanup cpuid usage.Uros Bizjak
* testsuite/libgomp.c/atomic-5.c: Cleanup cpuid usage. * testsuite/libgomp.c/atomic-6.c: Ditto. From-SVN: r145061
2009-03-23re PR c/39495 (OMP parallel loop w/ unsigned index var rejected)Jakub Jelinek
PR c/39495 * c-parser.c (c_parser_omp_for_loop): Call c_parser_binary_expression instead of c_parser_expression_conv, if original_code isn't one of the 4 allowed comparison codes, fail. * semantics.c (handle_omp_for_class_iterator): Swap cond operands and code if iter is the second operand. * parser.c (cp_parser_binary_expression): Add no_toplevel_fold_p argument. If it is set, don't build the toplevel expression with build_x_binary_op, but build2. (cp_parser_assignment_expression, cp_parser_omp_for_incr): Adjust callers. (cp_parser_omp_for_cond): Don't assume the first operand of the comparison must be decl. * gcc.dg/gomp/pr39495-2.c: Remove xfails. * testsuite/libgomp.c/loop-12.c: New test. * testsuite/libgomp.c/loop-11.c: New test. * testsuite/libgomp.c++/loop-11.C: New test. * testsuite/libgomp.c++/loop-12.C: New test. * testsuite/libgomp.c++/for-8.C: New test. From-SVN: r145014
2009-03-01backport: Support GNU/kOpenSolaris.Ralf Wildenhues
Backport from git Libtool: 2009-01-19 Robert Millan <rmh@aybabtu.com> Support GNU/kOpenSolaris. * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) (_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS) (_LT_LANG_CXX_CONFIG) [kopensolaris*-gnu]: Recognize GNU/kOpenSolaris. libjava/classpath/ * configure: Regenerate. libjava/ * configure: Regenerate. libssp/ * configure: Regenerate. libobjc/ * configure: Regenerate. libstdc++-v3/ * configure: Regenerate. libgfortran/ * configure: Regenerate. boehm-gc/ * configure: Regenerate. gcc/ * configure: Regenerate. libmudflap/ * configure: Regenerate. zlib/ * configure: Regenerate. libffi/ * configure: Regenerate. libgomp/ * configure: Regenerate. From-SVN: r144527
2009-02-25Fixed location of libgomp.exp.Adam Nemet
From-SVN: r144433
2009-02-11re PR middle-end/39154 (Miscompilation of VLAs in nested parallel regions)Jakub Jelinek
PR middle-end/39154 * gimplify.c (omp_notice_variable): If adding GOVD_SEEN bit to variable length decl's flags, add it also to its pointer replacement variable. * testsuite/libgomp.c/pr39154.c: New test. From-SVN: r144111
2009-01-31acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set libgomp_ld_is_gold.Ian Lance Taylor
* acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set libgomp_ld_is_gold. Get gold version number. (LIBGOMP_ENABLE_SYMVERS): Gold always support symbol versioning. * configure: Rebuild. From-SVN: r143822
2009-01-20darwin.h: Add static-libgfortran to LINK_SPEC.Iain Sandoe
2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> gcc/ * config/darwin.h: Add static-libgfortran to LINK_SPEC. gcc/testsuite/ * lib/gfortran.exp: Add -B options for targets that use libgfortran.a%s in their specs. libgomp/ * testsuite/lib/libgomp.exp: Add -B option for targets that use libgfortran.a%s in their specs. From-SVN: r143507
2009-01-07re PR libgomp/38086 (libgomp fails to build if assembler doesn't support ↵Jakub Jelinek
.symver) PR libgomp/38086 * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New check. * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undefine if HAVE_AS_SYMVER_DIRECTIVE is not defined. * configure: Regenerated. * config.h.in: Likewise. From-SVN: r143168
2008-12-28re PR c++/38650 (Trouble with volatile and #pragma omp for)Jakub Jelinek
PR c++/38650 * semantics.c (finish_omp_for): Don't add CLEANUP_POINT_EXPR around volatile iteration var in condition and/or increment expression. * testsuite/libgomp.c/pr38650.c: New test. * testsuite/libgomp.c++/pr38650.C: New test. From-SVN: r142940
2008-12-27* testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause.Jakub Jelinek
From-SVN: r142932
2008-12-26atomic-6.c: Add -mieee for alpha*-*-* targets.Uros Bizjak
* testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets. From-SVN: r142927
2008-12-18Backport from upstream Libtool:Ralf Wildenhues
* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER) (_LT_LINKER_SHLIBS): Add cache variables to tests that require the linker to work. For shlibpath_overrides_runpath, this also changes the semantics to let the result from the C compiler take precedence. boehm-gc/ * configure: Regenerate. fixincludes/ * configure: Regenerate. gcc/ * configure: Regenerate. libffi/ * configure: Regenerate. libgfortran/ * configure: Regenerate. libgomp/ * configure: Regenerate. libjava/classpath/ * configure: Regenerate. libjava/ * configure: Regenerate. libmudflap/ * configure: Regenerate. libobjc/ * configure: Regenerate. libssp/ * configure: Regenerate. libstdc++-v3/ * configure: Regenerate. zlib/ * configure: Regenerate. From-SVN: r142817
2008-12-08re PR middle-end/36802 (pop_gimplify_context ICE using openmp task construct)Jakub Jelinek
PR middle-end/36802 * omp-low.c (use_pointer_for_field): Only call maybe_lookup_decl on parallel and task contexts. * testsuite/libgomp.c/pr36802-1.c: New test. * testsuite/libgomp.c/pr36802-2.c: New test. * testsuite/libgomp.c/pr36802-3.c: New test. From-SVN: r142546
2008-12-02re PR libgomp/38270 (libgomp test failures due to missing memory barrier)Janis Johnson
PR libgomp/38270 * config/linux/powerpc/mutex.h: New. From-SVN: r142341
2008-12-01re PR c++/38257 (ICE with auto and #pragma omp parallel)Jakub Jelinek
PR c++/38257 * parser.c (cp_parser_omp_for_loop): Handle auto. * pt.c (tsubst_omp_for_iterator): Likewise. * testsuite/libgomp.c++/for-7.C: New test. From-SVN: r142320
2008-12-01re PR c++/38348 (ICE from c_finish_omp_for)Jakub Jelinek
PR c++/38348 * c-omp.c (c_finish_omp_for): Only transform pointer ++ or -- into MODIFY_EXPR if second argument is non-NULL. * g++.dg/gomp/for-19.C: New test. * testsuite/libgomp.c++/for-6.C: New test. From-SVN: r142318
2008-11-26re PR testsuite/28870 (configuring, over-riding timeout values in testsuite)Janis Johnson
gcc/ PR testsuite/28870 * doc/sourcebuild.texi (Test Directives): Add dg-timeout and dg-timeout-factor. gcc/testsuite/ PR testsuite/28870 * lib/timeout.exp: New. * lib/timeout-dg.exp: New. * lib/gcc-dg.exp: Include new timeout library files. (dg-test): Unset timeout variables. * lib/gcc.exp (gcc_target_compile): Set timeout value from new proc. * lib/g++.exp (g++_target_compile): Ditto. * lib/gfortran.exp (gfortran_target_compile): Ditto. * lib/objc.exp (objc_target_compile): Ditto. * lib/obj-c++.exp (obj-c++_target_compile): Ditto. * lib/obj-c++.exp (obj-c++_target_compile): Ditto. * lib/gnat.exp (gnat_target_compile): Ditto. libstdc++-v3/ PR testsuite/28870 * testsuite/lib/libstdc++.exp: Include new timeout library files. (libstdc++_init): Define tool_timeout. (dg-test): Override DejaGnu proc. (v3_target_compile): Set timeout value from new proc. (v3_target_compile_as_c): Ditto. libmudflap/ PR testsuite/28870 * testsuite/lib/mfdg.exp (dg-test): Use new timeout support. (dg-timeout): Remove. (standard-wait): Remove. * testsuite/lib/libmudflap.exp: Include new timeout library files. (libmudflap_target_compile): Set timeout value from new proc. libgomp/ PR testsuite/28870 * testsuite/lib/libgomp.exp: Include new timeout library files. (libgomp_target_compile): Set timeout value from new proc. From-SVN: r142225
2008-11-13re PR libgomp/37938 (libgomp testsuite failures on ia64-linux)Steve Ellcey
PR libgomp/37938 * config/linux/ia64/mutex.h: New. From-SVN: r141830
2008-11-04re PR libgomp/37935 (omp_set_schedule not documented in libgomp.texi)Tobias Burnus
2008-11-04 Tobias Burnus <burnus@net-b.de> PR libgomp/37935 * libgomp.texi (Runtime library routines, environment * variables): Update for OpenMP version 3.0. From-SVN: r141583
2008-09-26configure: Regenerate for new libtool.Peter O'Gorman
* configure: Regenerate for new libtool. * Makefile.in: Ditto. * testsuite/Makefile.in: Ditto. Co-Authored-By: Steve Ellcey <sje@cup.hp.com> From-SVN: r140699
2008-09-19Fix typo s/darwin/bsdAndreas Tobler
From-SVN: r140498
2008-09-19proc.c: New file.Jakub Jelinek
2008-09-19 Jakub Jelinek <jakub@redhat.com> Andreas Tobler <a.tobler@schweiz.org> * config/bsd/proc.c: New file. * configure.tgt (*-*-darwin*): Use config_path "darwin posix". * configure.ac: Check for header <sys/sysctl.h> * configure: Regenerate. * config.h.in: Likewise. Co-Authored-By: Andreas Tobler <a.tobler@schweiz.org> From-SVN: r140497
2008-09-05testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists.Janis Johnson
From-SVN: r140043
2008-08-31Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined.Aaron W. LaFramboise
2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com> * Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined. * Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. From-SVN: r139838
2008-08-21Fix ChangeLog typoNathan Froyd
From-SVN: r139394
2008-08-21libgomp.exp (libgomp_init): Only set things that depend on blddir if blddir ↵Nathan Froyd
exists. * testsuite/libgomp.exp (libgomp_init): Only set things that depend on blddir if blddir exists. (libgomp_target_compile): Likewise. * testsuite/libgomp.c++/c++.exp: Likewise. * testsuite/libgomp.fortran/fortran.exp: Likewise. From-SVN: r139393
2008-07-30re PR ada/15479 (Ada manual problems)Ralf Wildenhues
gcc/ada/ PR documentation/15479 * gnat-style.texi: Remove AdaCore copyright statement and GPL statement for GNAT. Add @copying stanza, use it. Update to GFDL 1.2. Do not list GFDL as Invariant Section, do not list title as Front-Cover Text. * gnat_rm.texi: Likewise. * gnat_ugn.texi: Likewise. gcc/ * doc/cpp.texi: Update to GFDL 1.2. * doc/gcc.texi: Do not list GPL as Invariant Section. * doc/gccint.texi: Likewise. Update copyright years. * doc/install.texi: Update copyright years. gcc/fortran/ * gfc-internals.texi: Update to GFDL 1.2. Do not list GPL as Invariant Section. * gfortran.texi: Likewise. * intrinsic.texi: Do not list GPL as Invariant Section. * invoke.texi: Likewise. Update copyright years. gcc/java/ * gcj.texi: Update copyright years. Do not list GPL as Invariant Section. libgomp/ * libgomp.texi: Update to GFDL 1.2. Update copyright years. Do not list GPL as Invariant Section. From-SVN: r138293
2008-07-28configure.tgt: Enable futex for MIPS.Ilie Garbacea
* configure.tgt: Enable futex for MIPS. * config/linux/mips/futex.h: New file. Co-Authored-By: Chao-ying Fu <fu@mips.com> From-SVN: r138214
2008-07-16team.c (gomp_team_end): Free team immediately if it has just one thread.Jakub Jelinek
* team.c (gomp_team_end): Free team immediately if it has just one thread. From-SVN: r137886