OSDN Git Service

* testsuite/config/default.exp: New file.
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2007 07:00:08 +0000 (07:00 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2007 07:00:08 +0000 (07:00 +0000)
commita17d193ed9741b648785e456c52ea08557d40c6a
treee28cf23cafe55f19b81d3ceb6bbb675b5d939270
parent02f07e876bbbb086765d8dae9e509b082af46018
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123125 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
libgomp/ChangeLog
libgomp/testsuite/config/default.exp [new file with mode: 0644]
libgomp/testsuite/lib/libgomp-dg.exp
libgomp/testsuite/lib/libgomp.exp [new file with mode: 0644]
libgomp/testsuite/libgomp.c++/c++.exp
libgomp/testsuite/libgomp.c/atomic-1.c
libgomp/testsuite/libgomp.c/atomic-10.c
libgomp/testsuite/libgomp.c/atomic-2.c
libgomp/testsuite/libgomp.c/c.exp
libgomp/testsuite/libgomp.c/pr29947-1.c
libgomp/testsuite/libgomp.c/pr29947-2.c
libgomp/testsuite/libgomp.fortran/fortran.exp