r251463 - in /trunk/gcc: ChangeLog coretypes.h ...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Aug 30 11:09:00 GMT 2017


Author: rsandifo
Date: Wed Aug 30 11:09:41 2017
New Revision: 251463

URL: https://gcc.gnu.org/viewcvs?rev=251463&root=gcc&view=rev
Log:
[11/77] Add a float_mode_for_size helper function

This provides a type-safe way to ask for a float mode and get it as a
scalar_float_mode.

2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
	    Alan Hayward  <alan.hayward@arm.com>
	    David Sherwood  <david.sherwood@arm.com>

gcc/
	* coretypes.h (opt_scalar_float_mode): New typedef.
	* machmode.h (float_mode_for_size): New function.
	* emit-rtl.c (double_mode): Delete.
	(init_emit_once): Use float_mode_for_size.
	* stor-layout.c (layout_type): Likewise.
	* gdbhooks.py (build_pretty_printer): Handle opt_scalar_float_mode.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/coretypes.h
    trunk/gcc/emit-rtl.c
    trunk/gcc/gdbhooks.py
    trunk/gcc/machmode.h
    trunk/gcc/stor-layout.c



More information about the Gcc-cvs mailing list