diff options
author | Ilya Verbin <ilya.verbin@intel.com> | 2015-01-16 11:29:54 +0000 |
---|---|---|
committer | Ilya Verbin <iverbin@gcc.gnu.org> | 2015-01-16 11:29:54 +0000 |
commit | fe23ff4b1ad4bbb359643ca7004b6fdbc63d83df (patch) | |
tree | 3f66047a22a64e3082fdd0e384d2594cdf66dded /libatomic | |
parent | 9377495d6a9c2c22036441c6bc7de0cf7728b4a9 (diff) | |
download | gcc-fe23ff4b1ad4bbb359643ca7004b6fdbc63d83df.zip gcc-fe23ff4b1ad4bbb359643ca7004b6fdbc63d83df.tar.gz gcc-fe23ff4b1ad4bbb359643ca7004b6fdbc63d83df.tar.bz2 |
re PR testsuite/64605 (ERROR: (DejaGnu) proc "libatomic_target_compile lto1738.c lto1738.o object additional_flags=-flto" does not exist.)
PR testsuite/64605
libatomic/
* testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
* testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
From-SVN: r219722
Diffstat (limited to 'libatomic')
-rw-r--r-- | libatomic/ChangeLog | 6 | ||||
-rw-r--r-- | libatomic/testsuite/lib/libatomic.exp | 6 | ||||
-rw-r--r-- | libatomic/testsuite/libatomic.c/c.exp | 1 |
3 files changed, 12 insertions, 1 deletions
diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index b0c72d3..ef5b6cd 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,9 @@ +2015-01-16 Ilya Verbin <ilya.verbin@intel.com> + + PR testsuite/64605 + * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp. + * testsuite/libatomic.c/c.exp: Load gcc-dg.exp. + 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org> * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc. diff --git a/libatomic/testsuite/lib/libatomic.exp b/libatomic/testsuite/lib/libatomic.exp index 28cbaa8..0491c18 100644 --- a/libatomic/testsuite/lib/libatomic.exp +++ b/libatomic/testsuite/lib/libatomic.exp @@ -23,6 +23,11 @@ proc load_gcc_lib { filename } { } load_lib dg.exp + +# Required to use gcc-dg.exp - however, the latter should NOT be +# loaded until ${tool}_target_compile is defined since it uses that +# to determine default LTO options. + load_gcc_lib file-format.exp load_gcc_lib target-supports.exp load_gcc_lib target-utils.exp @@ -40,7 +45,6 @@ load_gcc_lib torture-options.exp load_gcc_lib timeout.exp load_gcc_lib timeout-dg.exp load_gcc_lib fortran-modules.exp -load_gcc_lib gcc-dg.exp set dg-do-what-default run diff --git a/libatomic/testsuite/libatomic.c/c.exp b/libatomic/testsuite/libatomic.c/c.exp index 1da3cb1..dbdb5eb 100644 --- a/libatomic/testsuite/libatomic.c/c.exp +++ b/libatomic/testsuite/libatomic.c/c.exp @@ -21,6 +21,7 @@ if [info exists lang_test_file] then { } load_lib libatomic-dg.exp +load_gcc_lib gcc-dg.exp # If a testcase doesn't have special options, use these. if ![info exists DEFAULT_CFLAGS] then { |