Hello!

> The attached patch replaces manual swaps (i.e. "tmp = a; a = b; b =
> tmp;") with std::swap. It also removes a couple of static functions
> which were used only for implementing such swaps.
>
> Bootstrapped/regtested on x86_64-linux; full target list build in
> progress. OK for trunk?

According to [1], patches that convert to std::swap are considered as
obvious and don't need approval. If there is a non-trivial part,
please split it to a separate patch for an eventual discussion.

[1] https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01620.html

Uros.

Reply via email to