diff options
author | Jakub Jelinek <jakub@redhat.com> | 2014-07-03 20:45:35 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2014-07-03 20:45:35 +0200 |
commit | f707da16f714f7fe5a42391748212c84dfec639b (patch) | |
tree | a0693ecb7f84be353c54f762cdb9f97f018b498a /libgomp/testsuite/libgomp.graphite | |
parent | 9e5f78f114729119cc72443a145456e082af2f7c (diff) | |
download | gcc-f707da16f714f7fe5a42391748212c84dfec639b.zip gcc-f707da16f714f7fe5a42391748212c84dfec639b.tar.gz gcc-f707da16f714f7fe5a42391748212c84dfec639b.tar.bz2 |
libgomp.exp (libgomp_target_compile): If $source matches regex $lang_source_re, add $lang_include_flags to options.
* testsuite/lib/libgomp.exp (libgomp_target_compile): If $source
matches regex $lang_source_re, add $lang_include_flags to options.
* testsuite/libgomp.c/c.exp: Unset lang_include_flags.
* testsuite/libgomp.c++/c++.exp: Likewise.
* testsuite/libgomp.fortran/fortran.exp: Likewise. Set lang_source_re
and lang_include_flags instead of adding -fintrinsic-modules-path= to
ALWAYS_CFLAGS.
* testsuite/libgomp.graphite/graphite.exp: Unset lang_include_flags.
From-SVN: r212268
Diffstat (limited to 'libgomp/testsuite/libgomp.graphite')
-rw-r--r-- | libgomp/testsuite/libgomp.graphite/graphite.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.graphite/graphite.exp b/libgomp/testsuite/libgomp.graphite/graphite.exp index 93dea1b..190f557 100644 --- a/libgomp/testsuite/libgomp.graphite/graphite.exp +++ b/libgomp/testsuite/libgomp.graphite/graphite.exp @@ -21,6 +21,9 @@ if [info exists lang_library_path] then { if [info exists lang_test_file] then { unset lang_test_file } +if [info exists lang_include_flags] then { + unset lang_include_flags +} load_lib libgomp-dg.exp load_gcc_lib gcc-dg.exp |