Re: [PATCH] Fix recent store-merging ICE (PR tree-optimization/82838)

2017-11-06 Thread Richard Biener
On Mon, 6 Nov 2017, Jakub Jelinek wrote: > Hi! > > force_gimple_operand_1 clears the *seq first and then adds statements > there if any are needed. So calling force_gimple_operand_1 twice on the > same seq is throwing away the earlier statements if any, rather than > appending new statements to

[PATCH] Fix recent store-merging ICE (PR tree-optimization/82838)

2017-11-05 Thread Jakub Jelinek
Hi! force_gimple_operand_1 clears the *seq first and then adds statements there if any are needed. So calling force_gimple_operand_1 twice on the same seq is throwing away the earlier statements if any, rather than appending new statements to those. Fixed thusly, bootstrapped/regtested on x86_64