summaryrefslogtreecommitdiff
path: root/libgomp
Commit message (Collapse)AuthorAgeFilesLines
* 2008-04-18 Paolo Bonzini <bonzini@gnu.org>bonzini2008-04-183-28/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR bootstrap/35457 * configure.ac: Include override.m4. * configure: Regenerate. libgomp: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libdecnumber: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. gcc: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libstdc++-v3: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libobjc: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. intl: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libgfortran: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libmudflap: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. boehm-gc: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libiberty: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Add override.m4. * configure: Regenerate. libffi: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libssp: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. config: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * confsubdir.m4: Rename to... * override.m4: ... this. Make sure aclocal always picks it. Add more lenient precious variable check, backported from autoconf trunk. libjava/libltdl: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libjava/classpath: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libjava: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. libcpp: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * aclocal.m4: Regenerate. * configure: Regenerate. fixincludes: 2008-04-18 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/35457 * Makefile.in: Rewrite aclocal.m4 rule. * aclocal.m4: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134434 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/35611jakub2008-03-182-0/+21
| | | | | | | | | | * gimplify.c (gimplify_expr): Gimplify second operand of OMP_ATOMIC_LOAD. * testsuite/libgomp.c/atomic-4.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133309 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgomp/35625jakub2008-03-183-11/+36
| | | | | | | | | * iter.c (gomp_iter_guided_next_locked): If q > n, set end to ws->end. (gomp_iter_guided_next): Likewise. * testsuite/libgomp.c/pr35625.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133306 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>rwild2008-03-165-32/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: m4_include config/proginstall.m4. * configure: Regenerate. config/ 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * proginstall.m4: New file, with fixed AC_PROG_INSTALL. libjava/ 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * Makefile.am (install-data-local): Rewrite to be more efficient, using awk, and `install' with multiple files at once. Do not gather more than 50 files in one go to avoid hitting command line limits. (install_data_local_split): New variable. * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. * gcj/Makefile.in: Likewise. * include/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. boehm-gc/ 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. * include/Makefile.in: Likewise. libffi/ 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. * include/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. libgfortran/ 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. libgomp/ 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. libmudflap/ 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. libssp/ 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. libssp/ 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. libstdc++-v3/ 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. * doc/Makefile.in: Likewise. * include/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * po/Makefile.in: Likewise. * src/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. zlib/ 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * aclocal.m4: Regenerate. * configure: Likewise. * Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133269 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/35185jakub2008-03-132-0/+38
| | | | | | | | | | | * omp-low.c (lower_regimplify, init_tmp_var, save_tmp_var): Removed. (lower_omp_2): New function. (lower_omp_1, lower_omp): Rewritten. * testsuite/libgomp.c++/pr35185.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133162 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/35549jakub2008-03-122-0/+35
| | | | | | | | | | | | | | | * omp-low.c (maybe_lookup_decl): Constify first argument. (use_pointer_for_field): Change last argument from bool to omp_context *. Disallow shared copy-in/out in nested parallel if decl is shared in outer parallel too. (build_outer_var_ref, scan_sharing_clauses, lower_rec_input_clauses, lower_copyprivate_clauses, lower_send_clauses, lower_send_shared_vars): Adjust callers. * testsuite/libgomp.c/pr35549.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133136 138bc75d-0d04-0410-961f-82ee72b054a4
* * gimplify.c (goa_lhs_expr_p): Allow different ADDR_EXPR nodesjakub2008-03-062-1/+55
| | | | | | | | | for the same VAR_DECL. * testsuite/libgomp.c/atomic-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132977 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/33197fxcoudert2008-03-032-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/fortran/ * intrinsic.c (add_functions): Modify intrinsics ACOSH, ASINH, ATANH, ERF, ERFC and GAMMA. Add intrinsics BESSEL_{J,Y}{0,1,N}, ERFC_SCALED, LOG_GAMMA and HYPOT. * intrinsic.h (gfc_check_hypot, gfc_simplify_hypot, gfc_resolve_hypot): New prototypes. * mathbuiltins.def: Add HYPOT builtin. Make complex versions of ACOSH, ASINH and ATANH available. * gfortran.h (GFC_ISYM_ERFC_SCALED, GFC_ISYM_HYPOT): New values. * lang.opt: Add -std=f2008 option. * libgfortran.h: Define GFC_STD_F2008. * lang-specs.h: Add .f08 and .F08 file suffixes. * iresolve.c (gfc_resolve_hypot): New function. * parse.c (parse_contained): Allow empty CONTAINS for Fortran 2008. * check.c (gfc_check_hypot): New function. * trans-intrinsic.c (gfc_intrinsic_map): Define ERFC_SCALE builtin. * options.c (set_default_std_flags): Allow Fortran 2008 by default. (form_from_filename): Add .f08 suffix. (gfc_handle_option): Handle -std=f2008 option. * simplify.c (gfc_simplify_hypot): New function. * gfortran.texi: Document Fortran 2008 status and file extensions. * intrinsic.texi: Document new BESSEL_{J,Y}{0,1,N} intrinsics, as well as HYPOT and ERFC_SCALED. Update documentation of ERF, ERFC, GAMMA, LGAMMA, ASINH, ACOSH and ATANH. * invoke.texi: Document the new -std=f2008 option. libgomp/ * testsuite/libgomp.fortran/fortran.exp: Add .f08 and .F08 file suffixes. gcc/testsuite/ * gfortran.dg/gomp/gomp.exp: Add .f08 and .F08 file suffixes. * gfortran.dg/dg.exp: Likewise. * gfortran.dg/vect/vect.exp: Likewise. * gfortran.fortran-torture/execute/execute.exp: Likewise. * gfortran.fortran-torture/compile/compile.exp: Likewise. * gfortran.dg/gamma_1.f90: Also check log_gamma. * gfortran.dg/invalid_contains_1.f90: Remove warning about empty CONTAINS. * gfortran.dg/gamma_2.f90: Add a few error messages. * gfortran.dg/invalid_contains_2.f90: Remove warning about empty CONTAINS. * gfortran.dg/gamma_3.f90: Adjust error message. * gfortran.dg/gamma_4.f90: Test for log_gamma instead of lgamma. * gfortran.dg/bind_c_usage_9.f03: Adjust error messages. * gfortran.dg/bessel_1.f90: New test. * gfortran.dg/recursive_check_3.f90: Remove warnings. * gfortran.dg/besxy.f90: Also check for new F2008 intrinsics. * gfortran.dg/derived_function_interface_1.f90: Remove warning. * gfortran.dg/contains_empty_1.f03: New test. * gfortran.dg/erfc_scaled_1.f90: New test. * gfortran.dg/hypot_1.f90: New test. * gfortran.dg/contains_empty_2.f03: New test. libgfortran/ * intrinsics/erfc_scaled_inc.c: New file. * intrinsics/erfc_scaled.c: New file. * gfortran.map (GFORTRAN_1.0): Add _gfortran_erfc_scaled_r*. * Makefile.am: Add intrinsics/erfc_scaled.c. * config.h.in: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132846 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-03-03 Peter O'Gorman <pogma@thewrittenword.com>rwild2008-03-038-48/+140
| | | | | | | | | | | | | | PR libgomp/33131 * configure.ac: Add ACX_HEADER_STRING. * env.c: Include strings.h. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132844 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/35196jakub2008-02-152-0/+46
| | | | | | | | | | | | * omp-low.c (expand_omp_for_generic): Don't initialize fd->v in entry_bb. (expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb rather than in entry_bb. * testsuite/libgomp.c/pr35196.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132351 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/35130jakub2008-02-153-0/+157
| | | | | | | | | | | * tree-nested.c (convert_call_expr): Put FRAME.* vars into OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause. * testsuite/libgomp.fortran/pr35130.f90: New test. * testsuite/libgomp.c/pr35130.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132349 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/33880jakub2008-01-253-0/+147
| | | | | | | | | | | | | | * tree-nested.c (walk_omp_for): New function. (convert_nonlocal_reference, convert_local_reference): Call walk_omp_for on OMP_FOR. (convert_call_expr): Call walk_body on OMP_FOR's OMP_FOR_PRE_INIT_BODY. * testsuite/libgomp.c/pr33880.c: New test. * testsuite/libgomp.fortran/pr33880.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131825 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix date.dje2008-01-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131786 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerate.dje2008-01-242-11/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131784 138bc75d-0d04-0410-961f-82ee72b054a4
* libstdc++-v3/jakub2008-01-086-75/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (--enable-linux-futex): Add new configure option. (HAVE_LINUX_FUTEX): New AC_DEFINE. * Makefile.in: Rebuilt. * aclocal.m4: Rebuilt. * configure: Rebuilt. * config.h.in: Rebuilt. * config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT, _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define. * config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT, _GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define. * libsupc++/guard.cc: Include climits and syscall.h. (_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins are supported. (_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise. (__guard_test_bit): New static inline. (__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX. config/ * futex.m4: New file. libgomp/ * configure.ac: Move futex checking into ../config/futex.m4. * configure: Rebuilt. * aclocal.m4: Rebuilt. * Makefile.in: Rebuilt. * configure.tgt: Rename have_tls to gcc_cv_have_tls to match 2007-10-15 ../config/tls.m4 change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131399 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/34513jakub2007-12-193-0/+71
| | | | | | | | | | | | * parser.c (cp_parser_omp_parallel): For non-combined parallel call cp_parser_statement rather than cp_parser_already_scoped_statement. * testsuite/libgomp.c/pr34513.c: New test. * testsuite/libgomp.c++/pr34513.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131059 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-12-17 Jack Howarth <howarth@bromo.med.uc.edu>janis2007-12-172-1/+6
| | | | | | | | PR target/32765 * testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131012 138bc75d-0d04-0410-961f-82ee72b054a4
* * omp-low.c (optimize_omp_library_calls): New function.jakub2007-12-042-23/+30
| | | | | | | | | (expand_omp_parallel): Call it if optimizing. * omp.h.in (__GOMP_NOTHROW): Define. Use it on omp_* prototypes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130610 138bc75d-0d04-0410-961f-82ee72b054a4
* * omp-low.c (lookup_decl_in_outer_ctx): Allow calling thisjakub2007-12-032-0/+58
| | | | | | | | | | | | | | with !ctx->is_nested. (maybe_lookup_decl_in_outer_ctx): Look up in outer contexts even if !ctx->is_nested. (lower_copyprivate_clauses, lower_send_clauses, lower_send_shared_vars): Call lookup_decl_in_outer_ctx unconditionally. * testsuite/libgomp.c/private-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130590 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-11-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>bonzini2007-11-293-15/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config-ml.in: Robustify against white space in absolute file names. * config-ml.in (multi-clean): Substitute ${Makefile}. Remove superfluous ${Makefile} in list. libgomp: 2007-11-29 Andris Pavenis <andris.pavenis@iki.fi> Paolo Bonzini <bonzini@gnu.org> * Makefile.am: Use space as vpath separator. Use 'vpath %' instead of 'VPATH ='. * Makefile.in: Regenerate. gcc: 2007-11-29 Andris Pavenis <andris.pavenis@iki.fi> * Makefile.in: Use separate vpath lines for each path. libstdc++-v3: 2007-11-29 Andris Pavenis <andris.pavenis@iki.fi> * src/Makefile.am: Use separate vpath lines for each path. M libgomp/Makefile.in M libgomp/ChangeLog M libgomp/Makefile.am M gcc/ChangeLog M gcc/Makefile.in M libstdc++-v3/src/Makefile.in M libstdc++-v3/src/Makefile.am M libstdc++-v3/ChangeLog M ChangeLog git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130514 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-11-23 Matthias Klose <doko@ubuntu.com>doko2007-11-233-2/+7
| | | | | | | | * configure.ac: Adjust makeinfo version check. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130367 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/34020jakub2007-11-102-0/+24
| | | | | | | | | | * gimplify.c (goa_lhs_expr_p): Inside INDIRECT_REF handle unshared nops. * testsuite/libgomp.fortran/pr34020.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130069 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/33894jakub2007-11-062-0/+58
| | | | | | | | | | | | | | * cp-tree.h: Update comment - TYPE_LANG_FLAG_0 is not OMP_ATOMIC_DEPENDENT_P in OMP_ATOMIC. * pt.c (tsubst_expr): Assert OMP_ATOMIC_DEPENDENT_P. * semantics.c (finish_omp_atomic): Revert most of the 2007-02-05 changes, just keep the new representation of OMP_ATOMIC_DEPENDENT_P OMP_ATOMIC. * testsuite/libgomp.c++/atomic-1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129919 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgomp/33275jakub2007-10-252-2/+10
| | | | | | | | | * testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate): Make x and y integers rather than (implicit) reals. Add private (j) clause to the last omp parallel. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129631 138bc75d-0d04-0410-961f-82ee72b054a4
* config/:macro2007-10-152-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org> * tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls. (GCC_CHECK_CC_TLS): Rename have_cc_tls to gcc_cv_have_cc_tls. libgomp/: 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org> * configure: Regenerate following changes to ../config/tls.m4. libjava/: 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org> * configure: Regenerate following changes to ../config/tls.m4. libmudflap/: 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org> * configure: Regenerate following changes to ../config/tls.m4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129364 138bc75d-0d04-0410-961f-82ee72b054a4
* * gfortran.dg/openmp_stack.f90: Removed.jakub2007-09-282-0/+25
| | | | | | | * testsuite/libgomp.fortran/stack.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128863 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mingw32/proc.c: New file.dannysmith2007-09-102-0/+86
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128321 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/config/i386/cpuid.h: New file.uros2007-09-053-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gcc/config/i386/driver-i386.c: Include cpuid.h. (describe_cache): Shrink size and line strings to 100 bytes. (detect_caches_amd): Return "" for unsupported max_ext_level. Use __cpuid function. (detect_caches_intel): Return "" for unsupported max_level. Use __cpuid function. (host_detect_local_cpu): Change feature flag variables to unsigned int. Initialize only extended feature flag variables. Use __get_cpuid_max to determine max supported cpuid level. Use __cpuid function to determine supported features. Fix calculation of family id. Remove is_amd and check signature directly. Check for Geode signature. Handle family 4 id. [PROCESSOR_GENERIC32]: New default for unknown family id. Move cpu discovery code to other part of the function. [PROCESSOR_PENTIUM, PROCESSOR_K6, PROCESSOR_ATHLON]: Do not tune for sub-architecture. [PROCESSOR_PENTIUMPRO]: Simplify cpu discovery code. [PROCESSOR_K8]: Add k8-sse3 architecture. [PROCESSOR_GENERIC64]: Remove. * gcc/config/i386/x-i386 (driver-i386.o): Depend on cpuid.h. * gcc/config/i386/crtfastmath.c: Include cpuid.h. Use __get_cpuid to check for SSE and FXSAVE support. * gcc/config/i386/t-crtfm (crtfastmath.o): Depend on cpuid.h. Add -minline-all-stringops. * gcc/config.gcc (i[34567]86-*-*): Add cpuid.h to extra_headers. (x86_64-*-*): Ditto. testsuite/ChangeLog: * gcc.dg/i386-cpuid.h: Remove. * gcc.target/i386/mmx-check.h: Include cpuid.h. Use __get_cpuid. * gcc.target/i386/sse-check.h: Ditto. * gcc.target/i386/sse2-check.h: Ditto. * gcc.target/i386/sse3-check.h: Ditto. * gcc.target/i386/ssse3-check.h: Ditto. * gcc.target/i386/sse4_1-check.h: Ditto. * gcc.target/i386/sse4_2-check.h: Ditto. * gcc.target/i386/sse4a-check.h: Ditto. * gcc.dg/torture/pr16104-1.c: Ditto. * gcc.target/i386/mmx-4.c: Do not use NOINLINE. * gcc.target/i386/sse-6.c: Ditto. * gcc.target/i386/sse-7.c: Ditto. * g++.dg/other/i386-1.C: Include cpuid.h. (main): New function. Use __get_cpuid to check target fetaures. libgomp/ChangeLog: * testsuite/libgomp.c/atomic-1.c: Include cpuid.h for i386 targets. (main): Use __get_cpuid to get i386 target fetaures. * testsuite/libgomp.c/atomic-2.c: Include cpuid.h for x86_64 targets. (main): Use __get_cpuid to get x86_64 target fetaures. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128141 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/32765fxcoudert2007-08-153-0/+8
| | | | | | | | * testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin. * testsuite/libgomp.fortran/crayptr2.f90: Likwise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127514 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/32550jakub2007-07-123-0/+56
| | | | | | | | | | | | | * trans.h (GFC_POINTER_TYPE_P): Define. * trans-types.c (gfc_sym_type): Set it for types on attr->sym.pointer. * trans-openmp.c (gfc_omp_privatize_by_reference): Return false if GFC_POINTER_TYPE_P is set on the type. * testsuite/libgomp.fortran/pr32550.f90: New test. * testsuite/libgomp.fortran/crayptr2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126583 138bc75d-0d04-0410-961f-82ee72b054a4
* Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp,hjl2007-07-052-6377/+5
| | | | | | | libjava, libmudflap, libobjc, libssp and zlib. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126373 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/fortran/burnus2007-07-052-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-05 Daniel Franke <franke.daniel@gmail.com> Tobias Burnus <burnus@net-b.de> PR fortran/32359 * gfortran.h (symbol_attribute): Change save attribute into an enum. * decl.c (add_init_expr_to_sym): Set it to SAVE_IMPLICIT. * symbol.c (gfc_add_save): Check for SAVE_EXPLICIT. * resolve.c (resolve_fl_variable): Check for SAVE_EXPLICIT. (resolve_symbol): Allow OMP threadprivate with initialization SAVEd and save_all variable. * trans-decl.c (gfc_finish_var_decl): Remove obsolete sym->value check. libgomp/ 2007-07-05 Tobias Burnus <burnus@net-b.de> PR fortran/32359 * testsuite/libgomp.fortran/pr32359.f90: New. gcc/testsuite/ 2007-07-05 Tobias Burnus <burnus@net-b.de> PR fortran/32359 * gfortran.dg/module_md5_1.f90: Update MD5 number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126366 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgomp/32468jakub2007-07-023-2/+35
| | | | | | | | | * sections.c (GOMP_parallel_sections_start): Only decrease number of threads to COUNT if dyn_var is true. * testsuite/libgomp.c/pr32468.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126224 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgomp/26308ro2007-07-022-1/+10
| | | | | | | | * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126208 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/32362jakub2007-06-214-0/+106
| | | | | | | | | | | | | | | * omp-low.c (lookup_decl_in_outer_ctx): Don't ICE if t is NULL, but decl is a global var, instead return decl. * gimplify.c (gimplify_adjust_omp_clauses_1): Add shared clauses even for is_global_var decls, if they are private in some outer context. * testsuite/libgomp.c/pr32362-1.c: New test. * testsuite/libgomp.c/pr32362-2.c: New test. * testsuite/libgomp.c/pr32362-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125917 138bc75d-0d04-0410-961f-82ee72b054a4
* * team.c (gomp_team_start): Fix setting up thread_attrjakub2007-06-072-1/+6
| | | | | | | stack size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125542 138bc75d-0d04-0410-961f-82ee72b054a4
* boehm-gc:bonzini2007-06-022-49/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libffi: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libgfortran: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libgomp: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libjava: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libmudflap: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libobjc: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libssp: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libstdc++-v3: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. zlib: 2007-06-02 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125278 138bc75d-0d04-0410-961f-82ee72b054a4
* * ltmain.sh: Update from ToT Libtool.sje2007-05-245-827/+16416
| | | | | | | | | | | | | | | * libtool.m4: Update from ToT Libtool. * ltsugar.m4: New. Update from ToT Libtool. * ltversion.m4: New. Update from ToT Libtool. * ltoptions.m4: New. Update from ToT Libtool. * ltconfig: Remove. * ltcf-c.sh: Remove. * ltcf-cxx.sh: Remove. * ltcf-gcj.sh: Remove. * Regenerate all subdirs git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125032 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgomp/28482jakub2007-05-042-3/+3
| | | | | | | * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124445 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/linux/proc.c: New file.jakub2007-05-042-0/+183
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124443 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-04-19 Daniel Franke <franke.daniel@gmail.com>dfranke2007-04-192-8/+23
| | | | | | | | * libgomp.texi (GOMP_CPU_AFFINITY): Updated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123976 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-04-16 Matthias Klose <doko@debian.org>doko2007-04-162-3/+15
| | | | | | | | | | * configure.tgt (i[456]86-*-linux*): Only add ia32 specific flags if not building with -m64. * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march flag for i?86-*-* targets, if current target matches -m64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123887 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.sje2007-04-143-2/+7
| | | | | | | * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123826 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/31369danglin2007-04-073-2/+9
| | | | | | | | | | * testsuite/libgomp.c++/c++.exp: Don't use concat when setting ld_library_path. * testsuite/libgomp.fortran/fortran.exp: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123638 138bc75d-0d04-0410-961f-82ee72b054a4
* * libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New externjakub2007-04-0411-8/+382
| | | | | | | | | | | | | | | | | | | | | decls. (gomp_init_affinity, gomp_init_thread_affinity): New prototypes. * env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables. (parse_affinity): New function. (initialize_env): Call it and gomp_init_affinity. * team.c (gomp_team_start): If gomp_cpu_affinity != NULL, create new pthread_attr_t and call gomp_init_thread_affinity on it for each thread before passing the attribute to pthread_create. * config/linux/affinity.c: New file. * config/posix/affinity.c: New file. * configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test. * configure: Rebuilt. * config.h.in: Rebuilt. * Makefile.am (libgomp_la_SOURCES): Add affinity.c. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123494 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-23 Andreas Tobler <a.tobler@schweiz.org>andreast2007-03-233-5/+33
| | | | | | | | | | * testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for *-*-darwin*. * testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library and use it if found. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123162 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/config/default.exp: New file.uros2007-03-2212-231/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/lib/libgomp.exp: New file. * testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init, libgomp_target_compile, libgomp_option_help, libgomp_option_proc, load_lib *, load_gcc_lib *): Move to libgomp.exp. (libgomp_load): Remove. * testsuite/lib/libgomp.exp (libgomp_init): Compute always_ld_library_path, not ld_library_path. Set additional_flags to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets. (target_compile): Do not call libgomp_init. Append lang_library_path and lang_link_flags to options. * testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2. Set ld_library_path from always_ld_library_path. Set LD_LIBRARY_PATH here. * testsuite/libgomp.c++/c++.exp: Set ld_library_path from always_ld_library_path. Set LD_LIBRARY_PATH here. * testsuite/libgomp.fortran/fortran.exp: Ditto. * testsuite/libgomp.c/atomic-1.c: Set dg-options to "-O2 -march=pentium" for ilp32 x86 targets. Simplify check for CX8 flag. * testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3. * testsuite/libgomp.c/pr29947-1.c: Remove default dg-options. * testsuite/libgomp.c/pr29947-1.c: Ditto. * testsuite/libgomp.c/atomic-10.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123125 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Addjakub2007-03-219-0/+27
| | | | | | | | | | | | | | dg-final cleanup-modules line. * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise. * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise. * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise. * testsuite/libgomp.fortran/threadprivate2.f90: Likewise. * testsuite/libgomp.fortran/reduction5.f90: Likewise. * testsuite/libgomp.fortran/threadprivate3.f90: Likewise. * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123116 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4: Adjust regular expression for ld versionschwab2007-03-183-2/+8
| | | | | | | | extraction. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123035 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Add install-pdf target as copied frombrooks2007-03-023-4/+29
| | | | | | | | automake v1.10 rules. * Makefile.in: Regenerate git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122451 138bc75d-0d04-0410-961f-82ee72b054a4