C++ PATCH for c++/91678 - wrong error with decltype and location wrapper

Jason Merrill jason@redhat.com
Sun Sep 15 14:18:00 GMT 2019


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.

Jason



More information about the Gcc-patches mailing list