Make LTO's implementation of LANG_HOOKS_TYPE_FOR_SIZE the default
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 19 Jan 2017 17:27:54 +0000 (17:27 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 19 Jan 2017 17:27:54 +0000 (17:27 +0000)
commit8a3a6ab4514ca5a346951be94536a204b92fcace
tree256cbd879fbd6401e4031f44fb4256e9b8cff531
parent86eb502b939b6c852174d23eba3937ab6fd61884
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.

From-SVN: r244646
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