* config/i386/i386.c (ix86_function_versions): Use std::swap instead
of manually swapping.
(expand_vec_perm_interleave2): Likewise.
From-SVN: r224647
+2015-06-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/i386/i386.c (ix86_function_versions): Use std::swap instead
+ of manually swapping.
+ (expand_vec_perm_interleave2): Likewise.
+
2015-06-19 Ilya Enkovich <enkovich.gnu@gmail.com>
* tree-chkp.c (chkp_compute_bounds_for_assignment): Don't
{
if (attr2 != NULL_TREE)
{
- tree tem = fn1;
- fn1 = fn2;
- fn2 = tem;
+ std::swap (fn1, fn2);
attr1 = attr2;
}
error_at (DECL_SOURCE_LOCATION (fn2),
{
/* Attempt to increase the likelihood that dfinal
shuffle will be intra-lane. */
- char tmph = nonzero_halves[0];
- nonzero_halves[0] = nonzero_halves[1];
- nonzero_halves[1] = tmph;
+ std::swap (nonzero_halves[0], nonzero_halves[1]);
}
/* vperm2f128 or vperm2i128. */