This is small cleanup now vec has safe_emplace_push. We can just call
safe_emplace_push instead of also causing make_pair.
Bootstrapped and tested on x86_64-linux-gnu.
gcc/ChangeLog:
* gimple-fold.cc (follow_outer_ssa_edges): Use safe_emplace_push
instead of `safe_push( std::make_pair (`.
Signed-off-by: Andrew Pinski <[email protected]>
---
gcc/gimple-fold.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/gimple-fold.cc b/gcc/gimple-fold.cc
index d4ec7475990..7047e450c5f 100644
--- a/gcc/gimple-fold.cc
+++ b/gcc/gimple-fold.cc
@@ -7287,7 +7287,7 @@ follow_outer_ssa_edges (tree val)
storage.save_and_clear (val);
/* If the definition does not dominate fosa_bb temporarily reset
flow-sensitive info. */
- fosa_unwind->safe_push (std::make_pair (val, storage));
+ fosa_unwind->safe_emplace_push (val, storage);
return val;
}
return val;
--
2.43.0