Make LTO's implementation of LANG_HOOKS_TYPE_FOR_SIZE the default
commit8950f9289fbf662449abf5fd404a32a3fd6c9481
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jan 2017 17:27:54 +0000 (19 17:27 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jan 2017 17:27:54 +0000 (19 17:27 +0000)
tree256cbd879fbd6401e4031f44fb4256e9b8cff531
parent57b3db0408f06d3d898885e6a41f492f433afd45
Make LTO's implementation of LANG_HOOKS_TYPE_FOR_SIZE the default

gcc/jit/ChangeLog:
* dummy-frontend.c (jit_langhook_type_for_size): Delete.
(LANG_HOOKS_TYPE_FOR_SIZE): Don't redefine.

gcc/ChangeLog:
* langhooks-def.h (lhd_type_for_size): New decl.
(LANG_HOOKS_TYPE_FOR_SIZE): Define as lhd_type_for_size.
* langhooks.c (lhd_type_for_size): New function, taken from
lto_type_for_size.

gcc/lto/ChangeLog:
* lto-lang.c (builtin_type_for_size): Convert call to
lto_type_for_size to one through the langhook.
(lto_type_for_size): Move to langhooks.c and rename to
lhd_type_for_size.
(LANG_HOOKS_TYPE_FOR_SIZE): Don't redefine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244646 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/jit/ChangeLog
gcc/jit/dummy-frontend.c
gcc/langhooks-def.h
gcc/langhooks.c
gcc/lto/ChangeLog
gcc/lto/lto-lang.c