Re: C++ PATCH for c++/64455 (dependent variable template in constant expression)

2015-01-06 Thread Jason Merrill
On 01/06/2015 05:01 PM, Jason Merrill wrote: We were complaining about IsTypeT not being constant, but we shouldn't think about it having a constant value or not, because it is type-dependent; a variable template can have a specialization with a different type. The second patch fixes a

C++ PATCH for c++/64455 (dependent variable template in constant expression)

2015-01-06 Thread Jason Merrill
We were complaining about IsTypeT not being constant, but we shouldn't think about it having a constant value or not, because it is type-dependent; a variable template can have a specialization with a different type. Tested x86_64-pc-linux-gnu, applying to trunk. commit