diff options
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index a86084a..57837a1 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -5612,11 +5612,7 @@ reloads_unique_chain_p (int r1, int r2) /* The following loop assumes that r1 is the reload that feeds r2. */ if (r1 > r2) - { - int tmp = r2; - r2 = r1; - r1 = tmp; - } + std::swap (r1, r2); for (i = 0; i < n_reloads; i ++) /* Look for input reloads that aren't our two */ |