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

--- Comment #7 from Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> ---
> You should backport to N-1 first [...]

That was my intent. My workflow had not yet adapted to the existence of
releases/gcc-13. Fixed.

> never use -mpower9-vector and friends

I use -mpcu in my dejagnu boards (and the equivalent for 'check-simd'). IIUC
the -maltivec -mpower9-vector flags are added by
check_vect_support_and_set_flags in lib/target-supports.exp.

The problem was a branch that I apparently never tested (because the check-simd
testsuite wants to compile *and* run).

https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libstdc%2B%2B-v3/include/experimental/bits/simd_ppc.h;h=eca1b34241bb4efdbbb6490550750d81aee248b3;hb=HEAD#l133

The `vec_cntm(__to_intrin(__kv), 1)` call uses an incorrect type for the first
argument. The compiler message isn't very helpful, though. Patch coming up.

Reply via email to