diff options
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r-- | gcc/tree-predcom.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c index 341bcc7..eadad7e 100644 --- a/gcc/tree-predcom.c +++ b/gcc/tree-predcom.c @@ -2301,11 +2301,7 @@ combine_chains (chain_p ch1, chain_p ch2) } if (swap) - { - chain_p tmp = ch1; - ch1 = ch2; - ch2 = tmp; - } + std::swap (ch1, ch2); new_chain = XCNEW (struct chain); new_chain->type = CT_COMBINATION; |