c++: Create fewer SAVE_EXPR.
authorJason Merrill <jason@redhat.com>
Wed, 15 Jan 2020 03:55:59 +0000 (22:55 -0500)
committerJason Merrill <jason@redhat.com>
Mon, 18 May 2020 20:17:59 +0000 (16:17 -0400)
commit295790712f1168d9d540c240446b167592b77aca
tree9c79dbbee2ee788a030e7a8d5d53e47ca38adfd7
parent100fdb1f09b484ef100b638b28a260857d85f9dd
c++: Create fewer SAVE_EXPR.

In a couple of places in build_over_call we were calling
cp_stabilize_reference but only using the result once, so it isn't needed.

gcc/cp/ChangeLog
2020-05-18  Jason Merrill  <jason@redhat.com>

* call.c (build_over_call): Remove unnecessary
cp_stabilize_reference.
gcc/cp/ChangeLog
gcc/cp/call.c