Re: C++ PATCH for c++/56238 (ice-checking with static_cast)

2013-03-16 Thread Jason Merrill
On 02/09/2013 03:36 PM, Jason Merrill wrote: The code in build_non_dependent_expr has caught a number of issues in the compiler; this is another case that fold_non_dependent_expr wasn't properly recognizing as dependent. I think we want to use instantiation_dependent there going forward, but for

C++ PATCH for c++/56238 (ice-checking with static_cast)

2013-02-09 Thread Jason Merrill
The code in build_non_dependent_expr has caught a number of issues in the compiler; this is another case that fold_non_dependent_expr wasn't properly recognizing as dependent. I think we want to use instantiation_dependent there going forward, but for 4.8 I think let's just check it in the ENA