https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Richard Biener from comment #3)
> Ah.  So I guess
> 
> diff --git a/gcc/testsuite/gcc.dg/vect/tree-vect.h
> b/gcc/testsuite/gcc.dg/vect/tree-vect.h
> index 5d8d9eba3f8..c4b81441216 100644
> --- a/gcc/testsuite/gcc.dg/vect/tree-vect.h
> +++ b/gcc/testsuite/gcc.dg/vect/tree-vect.h
> @@ -52,7 +52,7 @@ check_vect (void)
>      want_level = 1, want_d = bit_SSE2;
>  # endif
>  
> -    if (!__get_cpuid (want_level, &a, &b, &c, &d)
> +    if (!__get_cpuid_count (want_level, 0, &a, &b, &c, &d)
>         || ((b & want_b) | (c & want_c) | (d & want_d)) == 0)
>        exit (0);
>    }
> 
> will work.

Exactly.  The patch is pre-approved.

Reply via email to