Hi!

On Mon, Aug 31, 2020 at 02:43:50PM +0800, Kewen.Lin wrote:
> --- a/gcc/testsuite/lib/target-supports.exp
> +++ b/gcc/testsuite/lib/target-supports.exp
> @@ -7066,7 +7066,7 @@ proc check_effective_target_vect_fully_masked { } {
>  # @code{len_store} optabs.
>  
>  proc check_effective_target_vect_len_load_store { } {
> -    return 0
> +    return [expr { [check_effective_target_has_arch_pwr9] }]
>  }

Why not just

  return check_effective_target_has_arch_pwr9;

?  (Or lose at least two pairs of brackets if not all three :-) )

Okay for trunk, with that change if that works.  Thanks!


Segher

Reply via email to