PR c++/91165 follow-on tweak
authorJason Merrill <jason@redhat.com>
Thu, 19 Dec 2019 00:10:47 +0000 (19:10 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 19 Dec 2019 00:10:47 +0000 (19:10 -0500)
commitdb38a029ee96491c4a4e42f3acdd02a541994ec1
treebac90309f5013cccbf87e44d1567a363b39ed690
parent6d4a35ca57b1af5a7a97faedb8a17c0a00890ce4
PR c++/91165 follow-on tweak

I talked in the PR about possibly stripping the location from the args in
the hash table, since if we use the cache the locations would be wrong, but
didn't actually do anything about that.  Then I noticed that there's already
unshare_expr_without_location...

* constexpr.c (cxx_eval_call_expression): Use
unshare_expr_without_location.

From-SVN: r279557
gcc/cp/ChangeLog
gcc/cp/constexpr.c