https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98349
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- So on gimple (with a cc1 cross) I can't see anything obviously wrong but we vectorize the check_union128 function and apply IPA constprop around the TU. So please see what's actually wrong here - you have noinline on 'test' but not noipa (so we IPA-CP the constant initializer generating code that's probably not how it was supposed to be tested: test.constprop.0: .LFB316: .cfi_startproc .LCF0: 0: addis 2,12,.TOC.-.LCF0@ha addi 2,2,.TOC.-.LCF0@l .localentry test.constprop.0,.-test.constprop.0 lxsdx 32,0,3 addis 9,2,.LC1@toc@ha addi 9,9,.LC1@toc@l lvx 2,0,9 xxpermdi 34,32,34,1 blr (but it looks OK with my limited understanding of ppc assembly).