Re: [PATCH] Fix PR c++/70610 (wrong overload resolution during template processing)

2016-04-12 Thread Jason Merrill
OK. Jason

[PATCH] Fix PR c++/70610 (wrong overload resolution during template processing)

2016-04-11 Thread Patrick Palka
The gist of the issue is that with -std=c++03 or earlier a NON_DEPENDENT_EXPR is considered to always be an lvalue according to lvalue_kind(). This causes overload resolution to malfunction during template processing because it sometimes chooses an overload that expects an lvalue argument even