On 07/13/2017 02:44 AM, Richard Sandiford wrote:
> This patch adds a POD class for scalar integers, as an instance
> of a new pod_mode template. Later patches will use pod_mode in
> situations that really do need to be POD; this patch is simply
> using PODs to remove load-time initialisation.
>
> 2017-07-13 Richard Sandiford <richard.sandif...@linaro.org>
> Alan Hayward <alan.hayw...@arm.com>
> David Sherwood <david.sherw...@arm.com>
>
> gcc/
> * coretypes.h (pod_mode): New type.
> (scalar_int_mode_pod): New typedef.
> * machmode.h (pod_mode): New class.
> (int_n_data_t::m): Change type to scalar_int_mode_pod.
> * genmodes.c (emit_mode_int_n): Update accordingly.
> * lower-subreg.h (target_lower_subreg): Change type to
> scalar_int_mode_pod.
> * gdbhooks.py (build_pretty_printer): Handle pod_mode and
> scalar_int_mode_pod.
OK.
jeff