Re: [PATCH] Fix neg overflow expansion (PR middle-end/77594)

2016-09-15 Thread Richard Biener
On September 16, 2016 12:48:04 AM GMT+02:00, Jakub Jelinek wrote: >Hi! > >As mentioned in the PR, during expand_arith_overflow expansion >expand_neg_overflow falls through into expand_addsub_overflow, so >expands >roughly the same code twice and keeps perhaps the less efficient >version >around.

[PATCH] Fix neg overflow expansion (PR middle-end/77594)

2016-09-15 Thread Jakub Jelinek
Hi! As mentioned in the PR, during expand_arith_overflow expansion expand_neg_overflow falls through into expand_addsub_overflow, so expands roughly the same code twice and keeps perhaps the less efficient version around. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for