Re: [C++ PATCH] Fix ICE on variable template access without template args (PR c++/89512)

2019-03-13 Thread Jason Merrill
On 3/13/19 6:37 PM, Jakub Jelinek wrote: Hi! When a variable template (both static data member of some class or at namespace level) is accessed without template arguments, finish_id_expression_1 handles it through: /* If we didn't find anything, or what we found was a type, then this

[C++ PATCH] Fix ICE on variable template access without template args (PR c++/89512)

2019-03-13 Thread Jakub Jelinek
Hi! When a variable template (both static data member of some class or at namespace level) is accessed without template arguments, finish_id_expression_1 handles it through: /* If we didn't find anything, or what we found was a type, then this wasn't really an id-expression. */ if