Correct argument to targetm.calls.promote_prototypes.
authorJason Merrill <jason@redhat.com>
Wed, 6 Dec 2017 22:31:47 +0000 (17:31 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 6 Dec 2017 22:31:47 +0000 (17:31 -0500)
commitc25ac92773ac357a9dfb831ded2e071f04ec7735
tree4292199477583d359a9594b19ac0c74485169407
parentc965919a064f585b05e6a73837b0b050c0d7d9e5
Correct argument to targetm.calls.promote_prototypes.

* call.c (convert_for_arg_passing): Pass NULL_TREE to
targetm.calls.promote_prototypes.
(type_passed_as): Likewise.

From-SVN: r255455
gcc/cp/ChangeLog
gcc/cp/call.c