]> git.ipfire.org Git - thirdparty/gcc.git/commit
genmodes.c (struct mode_data): Add need_bytesize_adj field.
authorJakub Jelinek <jakub@redhat.com>
Thu, 17 Apr 2014 12:49:49 +0000 (14:49 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 17 Apr 2014 12:49:49 +0000 (14:49 +0200)
commit92f0f3ec9210d529daa3271f6108e18600c9c2c3
tree4c749de5dc4a776f1ab9f29f46405e370f12efcc
parentbe55bfe6cf456943b12fe128f8a445b583ace36f
genmodes.c (struct mode_data): Add need_bytesize_adj field.

* genmodes.c (struct mode_data): Add need_bytesize_adj field.
(blank_mode): Initialize it.
(emit_mode_size_inline, emit_mode_nunits_inline,
emit_mode_inner_inline): New functions.
(emit_insn_modes_h): Call them and surround their output with
#if GCC_VERSION >= 4001 ... #endif.
* machmode.h (GET_MODE_SIZE, GET_MODE_NUNITS, GET_MODE_INNER):
For GCC_VERSION >= 4001 use mode_*_inline routines instead of
mode_* arrays if the argument is __builtin_constant_p.
* lower-subreg.c (dump_choices): Make sure GET_MODE_SIZE argument
is enum machine_mode.
fortran/
* trans-types.c (gfc_init_kinds): Make sure GET_MODE_BITSIZE
argument is enum machine_mode.

From-SVN: r209484
gcc/ChangeLog
gcc/fortran/ChangeLog
gcc/fortran/trans-types.c
gcc/genmodes.c
gcc/lower-subreg.c
gcc/machmode.h