This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Test cases vect-simd-clone-10/12.c keep failing
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 12 Jan 2014 12:01:43 +0100
- Subject: Re: Test cases vect-simd-clone-10/12.c keep failing
- Authentication-results: sourceware.org; auth=none
- References: <DUB122-W15F84965DF35062CCA3FA3E4BD0 at phx dot gbl>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Sun, Jan 12, 2014 at 10:53:58AM +0100, Bernd Edlinger wrote:
> The test cases gcc.dg/vect/vect-simd-clone-10.c and
> gcc.dg/vect/vect-simd-clone-12.c keep failing on my i686-pc. I do not really
> understand why. The problem seem to be the command line to xgcc has
> -S and -o and two .c files, probably the test case is not supported at all
> on this target, does not have AVX, SSE...
It seems that on some configurations (such as very old i?86/x86_64) the
default is dg-do compile for vect and not dg-do run.
check_vect_support_and_set_flags has:
if { [check_effective_target_sse2_runtime] } {
set dg-do-what-default run
} else {
set dg-do-what-default compile
}
so if you have really old box that doesn't support SSE2 even, you get this.
I guess explicit /* { dg-do run } */ needs to be added in this case, after
all the test has all the check_vect stuff in.
Jakub