https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114072
--- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> --- On Wed, 22 May 2024, ro at CeBiTec dot Uni-Bielefeld.DE wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114072 > > --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot > Uni-Bielefeld.DE> --- > > --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- > > Hmm, is solaris-sparc big-endian? It seems so. That makes the bitfield > > It is indeed. > > > access require a VnQImode logical right shift (but little-endian doesn't > > require it - it's actually bitfield endianess that matters). > > > > There is vect_shift_char you could use and somehow conditionalize that > > on big-endianess. > > I think the best we can do then is > > /* { dg-skip-if "PR tree-optimization/114072" { be && { ! vect_shift_char } } > } > */ > > Lets the test become UNSUPPORTED on 32 and 64-bit SPARC, but still PASS > as before on 32 and 64-bit x86. Can we instead guard the scan-tree-dump? This way the correctness execute part still is exercised?