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

--- Comment #19 from marcus at mc dot pp.se ---
If you don't have ARM hardware, the issue can be seen in qemu:

hakua:/tmp% uname -a
Linux hakua 5.4.275 #1 SMP Wed May 8 17:18:04 CEST 2024 ppc64 POWER9, altivec
supported PowerNV T2P9D01 REV 1.00 GNU/Linux
hakua:/tmp% qemu-aarch64 ./vect-iv-7-le
8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 
hakua:/tmp% qemu-aarch64_be ./vect-iv-7-be
10 8 14 12 18 16 22 20 26 24 30 28 34 32 38 36 
hakua:/tmp% 

(Note that if you have a recent qemu you may run into a bug where it says
 "gdb_find_static_feature: code should not be reached".
 A patch for that is available here:
https://gitlab.com/stsquad/qemu/-/commit/3676e278dbe2111d2799a4d2dc023f20e9cd6820
)

Reply via email to