aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/misc.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2017-08-30 11:09:41 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2017-08-30 11:09:41 +0000
commit857c7b46875bdcf9d889543baad54977034d57ef (patch)
tree60a693fba5c631712da730e6ce07a8deda2af759 /gcc/ada/gcc-interface/misc.c
parentd16c828e7aa2a704d887b071864823fc1e39670f (diff)
downloadgcc-857c7b46875bdcf9d889543baad54977034d57ef.zip
gcc-857c7b46875bdcf9d889543baad54977034d57ef.tar.gz
gcc-857c7b46875bdcf9d889543baad54977034d57ef.tar.bz2
[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. Co-Authored-By: Alan Hayward <alan.hayward@arm.com> Co-Authored-By: David Sherwood <david.sherwood@arm.com> From-SVN: r251463
Diffstat (limited to 'gcc/ada/gcc-interface/misc.c')
0 files changed, 0 insertions, 0 deletions