https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67421
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #1 from Jiong Wang <jiwang at gcc dot gnu.org> --- > (In reply to Rainer Orth from comment #0) >> Created attachment 36275 [details] >> wide-shift-64.c.219r.combine >> >> The new gcc.dg/wide-shift-64.c testcase FAILs on SPARC for the 64-bit >> multilib >> only: >> >> FAIL: gcc.dg/wide-shift-64.c scan-rtl-dump-not combine "ior" >> >> I'm attaching the dump. > > Rainer, > > I am trying to reproduce this on my cross environment while I can't. > > And searching in your dump file, I haven't found "ior" so the testcase > should > have passed. I just noticed I must have been dreaming when submitting this bug report: it's the *32-bit* case that fails, not the 64-bit one. I'm attaching the correct dump this time. > Can you please have a quick looks at the compile options used when testing > this testcase in your multi-lib environment, then I can reproduce in my local > sparc x86 cross env where I only have cc1 configured with > --target=sparc-linux. cc1 is invoked like this for a 32-bit-default configuration: $ cc1 -quiet wide-shift-64.c -mcpu=v9 -O2 -fdump-rtl-combine -o wide-shift-64.s Rainer