Re: [PATCH] Fix PR testsuite/64605

2015-01-16 Thread Ilya Verbin
On 16 Jan 11:57, Gerald Pfeifer wrote: > For a few days now I see the following in my daily test runs: > > The error code is NONE > The info on the error is: > invalid command name "libatomic_target_compile" > while executing > "::tcl_unknown libatomic_target_compile lto67385.c lto67

Re: [PATCH] Fix PR testsuite/64605

2015-01-16 Thread Gerald Pfeifer
On Thursday 2015-01-15 20:53, Ilya Verbin wrote: > $ make check-target-libatomic > ... > ERROR: (DejaGnu) proc "gcc-dg-test-1 libatomic_target_compile > ../../../../gcc/libatomic/testsuite/libatomic.c/atomic-compare-exchange-1.c > run { -g}" does not exist. For a few days now I see the following

Re: [PATCH] Fix PR testsuite/64605

2015-01-15 Thread Mike Stump
On Jan 15, 2015, at 11:54 AM, Ilya Verbin wrote: > On 15 Jan 11:20, Mike Stump wrote: >> On Jan 15, 2015, at 9:53 AM, Ilya Verbin wrote: >>> If I just remove 'load_gcc_lib gcc-dg.exp' from libatomic.exp, like this is >>> done >>> in libitm.exp, it will not work: >> >> Ok, original patch is fine

Re: [PATCH] Fix PR testsuite/64605

2015-01-15 Thread Ilya Verbin
On 15 Jan 11:20, Mike Stump wrote: > On Jan 15, 2015, at 9:53 AM, Ilya Verbin wrote: > > If I just remove 'load_gcc_lib gcc-dg.exp' from libatomic.exp, like this is > > done > > in libitm.exp, it will not work: > > Ok, original patch is fine. Oh, I see, it's loaded by libitm/testsuite/libitm.c/

Re: [PATCH] Fix PR testsuite/64605

2015-01-15 Thread Mike Stump
On Jan 15, 2015, at 9:53 AM, Ilya Verbin wrote: > If I just remove 'load_gcc_lib gcc-dg.exp' from libatomic.exp, like this is > done > in libitm.exp, it will not work: Ok, original patch is fine.

Re: [PATCH] Fix PR testsuite/64605

2015-01-15 Thread Ilya Verbin
On 15 Jan 09:40, Mike Stump wrote: > On Jan 15, 2015, at 8:14 AM, Ilya Verbin wrote: > > The problem is that gcc-dg.exp calls check_effective_target_lto, which calls > > libatomic_target_compile. Therefore gcc-dg.exp should be loaded only after > > the > > definition of libatomic_target_compile.

Re: [PATCH] Fix PR testsuite/64605

2015-01-15 Thread Mike Stump
On Jan 15, 2015, at 8:14 AM, Ilya Verbin wrote: > The problem is that gcc-dg.exp calls check_effective_target_lto, which calls > libatomic_target_compile. Therefore gcc-dg.exp should be loaded only after > the > definition of libatomic_target_compile. > However, a similar exp file in other tree

[PATCH] Fix PR testsuite/64605

2015-01-15 Thread Ilya Verbin
Hi! This patch fixes 'make check-target-libatomic'. The problem is that gcc-dg.exp calls check_effective_target_lto, which calls libatomic_target_compile. Therefore gcc-dg.exp should be loaded only after the definition of libatomic_target_compile. However, a similar exp file in other tree (libi