On 9/16/19 1:12 PM, Marek Polacek wrote:
On Sun, Sep 15, 2019 at 10:18:29AM -0400, Jason Merrill wrote:
On 9/5/19 9:24 PM, Marek Polacek wrote:
They use
non_lvalue_loc, but that won't create a NON_LVALUE_EXPR wrapper around a
location
wrapper.
That seems like the bug. maybe_lvalue_p should be true for
VIEW_CONVERT_EXPR.
That makes sense but it breaks in tsubst_* which doesn't expect a
NON_LVALUE_EXPR wrapped around a location wrapper.
Hmm, why would we get that in a template when we don't get
NON_LVALUE_EXPR wrapped around other lvalue nodes?
Jason