https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78303
Bug ID: 78303 Summary: PowerPC vec-init-{1,2,4,5,8,9} tests do not run on -mlittle -maltivec=be Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org Target Milestone: --- I was fixing PR 78243, and I decided to try the vec-init-{1,2,4,5,8,9} tests that I wrote when I was adding power8/power9 vector init/extract support with the -maltivec=be option. None of the vec-init tests run with -maltivec=be. This option says that even though we are running on a little endian target, the ordering of elements within Altivec/VSX registers is still big endian to allow code that was targeted towards the big endian PowerPC to run. I tested both GCC 6 and the current GCC 7 sources, and both fail.