Re: [PATCH] Use std::swap in expand_mult

2014-12-03 Thread Jeff Law
On 12/03/14 10:11, Jakub Jelinek wrote: Hi! While looking at PR59708, I've noticed this. Ok for trunk? 2014-12-03 Jakub Jelinek * expmed.c (expand_mult): Use std::swap. Yes. In fact, I think this kind of stuff ought to fit under the obvious rule. jeff

[PATCH] Use std::swap in expand_mult

2014-12-03 Thread Jakub Jelinek
Hi! While looking at PR59708, I've noticed this. Ok for trunk? 2014-12-03 Jakub Jelinek * expmed.c (expand_mult): Use std::swap. --- gcc/expmed.c.jj 2014-11-18 08:26:45.0 +0100 +++ gcc/expmed.c2014-12-03 11:12:37.519297971 +0100 @@ -3087,11 +3087,7 @@ expand_mult