On 07/13/2017 02:42 AM, Richard Sandiford wrote: > This means that we know when accessing the modes that the size is > a compile-time constant, even for SVE. It also enables stricter > type safety in later patches. > > 2017-07-13 Richard Sandiford <richard.sandif...@linaro.org> > Alan Hayward <alan.hayw...@arm.com> > David Sherwood <david.sherw...@arm.com> > > gcc/ > * machmode.h (mode_iterator::start): Provide overload for opt_modes. > (mode_iterator::iterate_p): Likewise. > (mode_iterator::get_wider): Likewise. > * expr.c (init_expr_target): Use opt_scalar_float_mode. > > gcc/ada/ > * gcc-interface/misc.c (fp_prec_to_size): Use opt_scalar_float_mode. > (fp_size_to_prec): Likewise. > > gcc/c-family/ > * c-cppbuiltin.c (c_cpp_builtins): Use opt_scalar_float_mode. > > gcc/fortran/ > * trans-types.c (gfc_init_kinds): Use opt_scalar_float_mode > and FOR_EACH_MODE_IN_CLASS.
OK. jeff