Re: [PATCH 01/10] C++ FE: expression ranges v4

2015-12-04 Thread David Malcolm
On Fri, 2015-12-04 at 12:10 -0500, Jason Merrill wrote: > On 12/03/2015 09:55 AM, David Malcolm wrote: > > @@ -362,10 +362,11 @@ convert_to_real_1 (tree type, tree expr, bool fold_p) > > case REAL_TYPE: > > /* Ignore the conversion if we don't need to store intermediate > > resul

Re: [PATCH 01/10] C++ FE: expression ranges v4

2015-12-04 Thread Jason Merrill
On 12/03/2015 09:55 AM, David Malcolm wrote: @@ -362,10 +362,11 @@ convert_to_real_1 (tree type, tree expr, bool fold_p) case REAL_TYPE: /* Ignore the conversion if we don't need to store intermediate results and neither type is a decimal float. */ - return build1 ((f

[PATCH 01/10] C++ FE: expression ranges v4

2015-12-03 Thread David Malcolm
Changes in this version: - removal of gcc_assert (m_loc != UNKNOWN_LOCATION) from cp_expr ctor - uses protected_set_expr_location or cp_expr::set_location/set_range, rather than attempting to add location_t arguments - adds location support and test coverage based on issues seen in the analogou