Skip to content
Snippets Groups Projects
  1. Jul 11, 2009
    • Richard Sandiford's avatar
      re PR testsuite/40699 (All sparcv9 libjava execution tests fail on Solaris 11/SPARC) · 33cde516
      Richard Sandiford authored
      gcc/testsuite/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* lib/gcc-defs.exp, lib/target-libpath.exp, lib/objc.exp,
      	lib/gfortran.exp, lib/g++.exp, lib/obj-c++.exp, lib/c-torture.exp,
      	lib/gcc-dg.exp, lib/gnat.exp, g++.dg/compat/compat.exp,
      	g++.dg/compat/struct-layout-1.exp: Revert 2009-06-30 commit.
      
      libstdc++-v3/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* testsuite/lib/libstdc++.exp: Revert 2009-06-30 commit.
      
      libjava/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* testsuite/lib/libjava.exp: Revert 2009-06-30 commit.
      
      libgomp/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* testsuite/lib/libgomp.exp: Revert 2009-07-02 and 2009-06-30 commits.
      	* testsuite/libgomp.c/c.exp, testsuite/libgomp.c++/c++.exp,
      	testsuite/libgomp.fortran/fortran.exp: Revert 2009-06-30 commits.
      
      libffi/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* testsuite/lib/libffi-dg.exp: Revert 2009-07-02, 2009-07-01 and
      	2009-06-30 commits.
      
      libmudflap/
      	PR testsuite/40699
      	PR testsuite/40707
      	PR testsuite/40709
      	* testsuite/lib/libmudflap.exp: Revert 2009-06-30 commit.
      
      From-SVN: r149508
      33cde516
  2. Jul 02, 2009
  3. Jun 30, 2009
    • Richard Sandiford's avatar
      gcc-defs.exp (gcc-set-multilib-library-path): Delete. · b30bfd40
      Richard Sandiford authored
      gcc/testsuite/
      	* lib/gcc-defs.exp (gcc-set-multilib-library-path): Delete.
      	* lib/target-libpath.exp (ld_library_path_vars): New variable.
      	(init_ld_library_path_env_vars): New function, replacing the
      	orig_*_saved assignments.  Call it after defining it.
      	(set_ld_library_path_env_vars): Rewrite to use ld_library_path_vars.
      	(restore_ld_library_path_env_vars): Likewise.
      	(add_path, find_libgcc_s): New functions.
      	* lib/objc.exp (objc_init): Use find_libgcc_s instead of
      	gcc-set-multilib-library-path.
      	(objc_target_compile): Don't add "." to ld_library_path.
      	Use add_path.
      	* lib/gfortran.exp (gfortran_link_flags): Don't add "." to
      	ld_library_path.  Use add_path.  Use find_libgcc_s instead of
      	gcc-set-multilib-library-path.
      	* lib/g++.exp (g++_link_flags): Likewise.
      	* lib/obj-c++.exp (obj-c++_link_flags): Likewise.
      	* lib/c-torture.exp: Do not manipulate ld_library_path at the
      	top level; do it...
      	(c-torture-execute): ...here instead.  Use $ld_library_path_multilib
      	to tell when this needs to happen.  Use find_libgcc_s instead of
      	gcc-set-multilib-library-path.
      	* lib/gcc-dg.exp: Likewise.
      	* lib/gnat.exp (gnat_target_compile): Don't add "." to ld_library_path.
      	* g++.dg/compat/compat.exp (alt_ld_library_path): Don't add "."
      	unless it is in $ALT_LD_LIBRARY_PATH.
      	* g++.dg/compat/struct-layout-1.exp (alt_ld_library_path): Likewise.
      
      libffi/
      	* testsuite/lib/libffi-dg.exp (libffi-init): Don't add "."
      	to ld_library_path.  Use add_path.  Add just find_libgcc_s
      	to ld_library_path, not every libgcc multilib directory.
      
      libgomp/
      	* testsuite/lib/libgomp.exp (libgomp_init): Don't add "." to
      	ld_library_path.  Use add_path.  Add just find_libgcc_s to
      	ld_library_path, not every libgcc multilib directory.
      	* testsuite/libgomp.c/c.exp (ld_library_path): Don't call
      	gcc-set-multilib-library-path; rely on $always_ld_library_path instead.
      	* testsuite/libgomp.c++/c++.exp (ld_library_path): Likewise.
      	Use add_path.
      	* testsuite/libgomp.fortran/fortran.exp (ld_library_path): Likewise.
      
      libjava/
      	* testsuite/lib/libjava.exp (libjava_init): Just add
      	find_libgcc_s to libjava_libgcc_s_path, rather than every
      	libgcc multilib directory.
      	(libjava_arguments): Explain why we add "." to ld_library_path.
      	(gcj_invoke, exec_gij, libjava_invoke): Use add_path.
      
      libmudflap/
      	* testsuite/lib/libmudflap.exp (libmudflap-init): Don't add "."
      	to ld_library_path.  Use add_path.  Add just find_libgcc_s to
      	ld_library_path, not every libgcc multilib directory.
      
      libstdc++-v3/
      	* testsuite/lib/libstdc++.exp (libstdc++_init): Don't add "."
      	to ld_library_path.  Use add_path.  Add just find_libgcc_s to
      	ld_library_path, not every libgcc multilib directory.
      
      From-SVN: r149113
      b30bfd40
  4. Jun 09, 2009
  5. May 27, 2009
  6. May 20, 2009
  7. Apr 20, 2009
    • Vasilis Liaskovitis's avatar
      re PR fortran/35423 (Implement OpenMP workshare) · 34d01e1d
      Vasilis Liaskovitis authored
      
      	PR fortran/35423
      	* trans.h (OMPWS_WORKSHARE_FLAG, OMPWS_CURR_SINGLEUNIT,
      	OMPWS_SCALARIZER_WS, OMPWS_NOWAIT): Define.
      	(ompws_flags): New extern decl.
      	* trans-array.c (gfc_trans_scalarized_loop_end): Build OMP_FOR
      	for the outer dimension if ompws_flags allow it.
      	* trans.c (gfc_generate_code): Clear ompws_flags.
      	* trans-expr.c (gfc_trans_assignment_1): Allow worksharing
      	array assignments inside of !$omp workshare.
      	* trans-stmt.c (gfc_trans_where_3): Similarly for where statements
      	and constructs.
      	* trans-openmp.c (ompws_flags): New variable.
      	(gfc_trans_omp_workshare): Rewritten.
      
      	* testsuite/libgomp.fortran/workshare2.f90: New test.
      
      Co-Authored-By: default avatarJakub Jelinek <jakub@redhat.com>
      
      From-SVN: r146397
      34d01e1d
  8. Apr 09, 2009
  9. Apr 08, 2009
  10. Apr 01, 2009
    • Jakub Jelinek's avatar
      re PR other/39591 (GOMP_loop_end illegally optmized into GOMP_loop_end_nowait) · 03742a9b
      Jakub Jelinek authored
      	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: r145390
      03742a9b
  11. Mar 25, 2009
  12. Mar 23, 2009
    • Jakub Jelinek's avatar
      re PR c/39495 (OMP parallel loop w/ unsigned index var rejected) · c5cdb03f
      Jakub Jelinek authored
      	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
      c5cdb03f
  13. Mar 01, 2009
    • Ralf Wildenhues's avatar
      backport: Support GNU/kOpenSolaris. · 7a9d3fe8
      Ralf Wildenhues authored
      	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
      7a9d3fe8
  14. Feb 25, 2009
  15. Feb 11, 2009
  16. Jan 31, 2009
  17. Jan 20, 2009
    • Iain Sandoe's avatar
      darwin.h: Add static-libgfortran to LINK_SPEC. · 72c66596
      Iain Sandoe authored
      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
      72c66596
  18. Jan 07, 2009
  19. Dec 28, 2008
    • Jakub Jelinek's avatar
      re PR c++/38650 (Trouble with volatile and #pragma omp for) · e4ebaef3
      Jakub Jelinek authored
      	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
      e4ebaef3
  20. Dec 27, 2008
  21. Dec 26, 2008
  22. Dec 18, 2008
    • Ralf Wildenhues's avatar
      Backport from upstream Libtool: · baafc534
      Ralf Wildenhues authored
      	* 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
      baafc534
  23. Dec 08, 2008
  24. Dec 02, 2008
  25. Dec 01, 2008
  26. Nov 26, 2008
    • Janis Johnson's avatar
      re PR testsuite/28870 (configuring, over-riding timeout values in testsuite) · d4038ca2
      Janis Johnson authored
      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
      d4038ca2
  27. Nov 13, 2008
  28. Nov 04, 2008
  29. Sep 26, 2008
  30. Sep 19, 2008
    • Andreas Tobler's avatar
      Fix typo s/darwin/bsd · 8c3b3600
      Andreas Tobler authored
      From-SVN: r140498
      8c3b3600
    • Jakub Jelinek's avatar
      proc.c: New file. · e2b34106
      Jakub Jelinek authored
      
      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: default avatarAndreas Tobler <a.tobler@schweiz.org>
      
      From-SVN: r140497
      e2b34106
  31. Sep 05, 2008
  32. Aug 31, 2008
  33. Aug 21, 2008
  34. Jul 30, 2008
    • Ralf Wildenhues's avatar
      re PR ada/15479 (Ada manual problems) · 70b1e376
      Ralf Wildenhues authored
      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
      70b1e376
  35. Jul 28, 2008
  36. Jul 16, 2008
  37. Jul 08, 2008
    • David Edelsohn's avatar
      c++.exp: Append multilib library path. · 87bd23b8
      David Edelsohn authored
      	* testsuite/libgomp.c++/c++.exp: Append multilib library path.
      	* testsuite/libgomp.fortran/fortran.exp: Same.
      	* testsuite/libgomp.c/c.exp: Same.
      	* testsuite/lib/libgomp.exp: Append AIX libgcc pthread multilib
      	directory to library path first.
      
      From-SVN: r137638
      87bd23b8
Loading