* testsuite/lib/libgomp.exp (libgomp_target_compile): If $source
commit68e4cca165f2ad7056f1f3c3b3fb067a08e696af
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jul 2014 18:45:35 +0000 (3 18:45 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jul 2014 18:45:35 +0000 (3 18:45 +0000)
treea0693ecb7f84be353c54f762cdb9f97f018b498a
parent5f5c2cdd701a6276634e3686109fcd734f47dc0d
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212268 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/testsuite/lib/libgomp.exp
libgomp/testsuite/libgomp.c++/c++.exp
libgomp/testsuite/libgomp.c/c.exp
libgomp/testsuite/libgomp.fortran/fortran.exp
libgomp/testsuite/libgomp.graphite/graphite.exp