1. 15 Feb, 2008 2 commits
  2. 25 Jan, 2008 1 commit
  3. 24 Jan, 2008 2 commits
  4. 08 Jan, 2008 1 commit
    • configure.ac (--enable-linux-futex): Add new configure option. · 0f3e711e
      libstdc++-v3/
      	* 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.
      
      From-SVN: r131399
      Jakub Jelinek committed
  5. 19 Dec, 2007 1 commit
  6. 17 Dec, 2007 1 commit
  7. 04 Dec, 2007 1 commit
  8. 03 Dec, 2007 1 commit
  9. 29 Nov, 2007 1 commit
    • [multiple changes] · d683ec81
      2007-11-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
      
      	* 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
      
      From-SVN: r130514
      Paolo Bonzini committed
  10. 23 Nov, 2007 1 commit
  11. 10 Nov, 2007 1 commit
  12. 06 Nov, 2007 1 commit
    • re PR c++/33894 (pragma omp atomic broken) · 239371f9
      	PR c++/33894
      	* 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.
      
      From-SVN: r129919
      Jakub Jelinek committed
  13. 25 Oct, 2007 1 commit
  14. 15 Oct, 2007 1 commit
    • tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls. · 3afcaaf4
      config/:
      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.
      
      From-SVN: r129364
      Maciej W. Rozycki committed
  15. 28 Sep, 2007 1 commit
  16. 10 Sep, 2007 1 commit
  17. 05 Sep, 2007 1 commit
    • cpuid.h: New file. · b3172cab
      	* gcc/config/i386/cpuid.h: New file.
      	* 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.
      
      From-SVN: r128141
      Uros Bizjak committed
  18. 15 Aug, 2007 1 commit
  19. 12 Jul, 2007 1 commit
  20. 05 Jul, 2007 2 commits
    • Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, · 12a27363
      libjava, libmudflap, libobjc, libssp and zlib.
      
      From-SVN: r126373
      H.J. Lu committed
    • re PR fortran/32359 (incorrect error: Threadprivate isn't SAVEd (implicit save… · 5349080d
      re PR fortran/32359 (incorrect error: Threadprivate isn't SAVEd (implicit save attribute undefined))
      
      gcc/fortran/
      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.
      
      From-SVN: r126366
      Tobias Burnus committed
  21. 02 Jul, 2007 2 commits
  22. 21 Jun, 2007 1 commit
    • re PR middle-end/32362 (ICE: in lookup_decl_in_outer_ctx, at omp-low.c:1508) · 64964499
      	PR middle-end/32362
      	* 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.
      
      From-SVN: r125917
      Jakub Jelinek committed
  23. 07 Jun, 2007 1 commit
  24. 02 Jun, 2007 1 commit
    • configure: Regenerate. · 82a6cadf
      boehm-gc:
      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.
      
      From-SVN: r125278
      Paolo Bonzini committed
  25. 24 May, 2007 1 commit
    • ltmain.sh: Update from ToT Libtool. · 1cf3d07d
              * ltmain.sh: Update from ToT Libtool.
              * 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
      
      From-SVN: r125032
      Steve Ellcey committed
  26. 04 May, 2007 2 commits
  27. 19 Apr, 2007 1 commit
  28. 16 Apr, 2007 1 commit
  29. 14 Apr, 2007 1 commit
  30. 07 Apr, 2007 1 commit
  31. 04 Apr, 2007 1 commit
    • libgomp.h (gomp_cpu_affinity, [...]): New extern decls. · a0884cf0
      	* libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern
      	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.
      
      From-SVN: r123494
      Jakub Jelinek committed
  32. 23 Mar, 2007 1 commit
  33. 22 Mar, 2007 1 commit
    • default.exp: New file. · 516f1ed8
      	* testsuite/config/default.exp: New file.
      	* 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.
      
      From-SVN: r123125
      Uros Bizjak committed
  34. 21 Mar, 2007 1 commit
    • a.22.8.f90: Add dg-final cleanup-modules line. · 2ada56f5
      	* testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add
      	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.
      
      From-SVN: r123116
      Jakub Jelinek committed
  35. 18 Mar, 2007 1 commit