Test cases vect-simd-clone-10/12.c keep failing

Bernd Edlinger bernd.edlinger@hotmail.de
Sun Jan 12 21:53:00 GMT 2014


On Sun, 12 Jan 2014 12:01:43, Jakub Jelinek wrote:
>
> 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

Yes, explicit /* { dg-do run } */ works.

Bernd. 		 	   		  


More information about the Gcc-patches mailing list