c++: Fix -Wreturn-local-addr location.
authorJason Merrill <jason@redhat.com>
Fri, 7 Feb 2020 22:14:11 +0000 (17:14 -0500)
committerJason Merrill <jason@redhat.com>
Sat, 8 Feb 2020 16:14:58 +0000 (11:14 -0500)
commit61f5369f7ecf1eff9cd7a7016324d60eec338806
treec0b09388b721cc06ee110064b69953e4df6c4fd4
parentc151a342b8bae48ce4c864e67913bc3a0346c4c7
c++: Fix -Wreturn-local-addr location.

* typeck.c (maybe_warn_about_returning_address_of_local): Add
location parameter.
gcc/cp/ChangeLog
gcc/cp/typeck.c