On Fri, Apr 29, 2016 at 1:23 PM, Eric Botcazou wrote: >> Attached patch was actually tested on a couple of cases. It generates >> the same assembly as before. > > Note that you could just remove the second ":W" in the define_insn pattern. Eh, then the build yawns about the missing mode of the input operand. > That's better, but not quite it because this segfaults at -O2: This is getting a bit frustrating, but attached patch should solve this failure. Again lightly tested, regtest in progress. Uros.