This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 0/9] start converting POINTER_SIZE to a hook
- From: tbsaunde+gcc at tbsaunde dot org
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 26 Jul 2015 23:10:06 -0400
- Subject: [PATCH 0/9] start converting POINTER_SIZE to a hook
- Authentication-results: sourceware.org; auth=none
From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
Hi,
$subject.
patches individually bootstrapped + regtested on x86_64-linux-gnu, and run
through config-list.mk with more patches removing usage of the macro. Ok?
Trev
Trevor Saunders (9):
remove POINTER_SIZE_UNITS macro
add pointer_size target hook
target.h: change to use targetm.pointer_size instead of POINTER_SIZE
varasm.c: switch from POINTER_SIZE to targetm.pointer_size ()
ubsan.c: switch from POINTER_SIZE to targetm.pointer_size ()
tree-chkp.c: switch to targetm.pointer_size ()
stor-layout.c: switch to targetm.pointer_size ()
tree.c: switch to targetm.pointer_size ()
emit-rtl.c: switch to targetm.pointer_size ()
gcc/c-family/c-cppbuiltin.c | 2 +-
gcc/defaults.h | 3 ---
gcc/doc/tm.texi | 7 +++++++
gcc/doc/tm.texi.in | 2 ++
gcc/dwarf2asm.c | 4 ++--
gcc/emit-rtl.c | 5 +++--
gcc/lto/lto-object.c | 3 ++-
gcc/stor-layout.c | 9 +++++----
gcc/target.def | 8 ++++++++
gcc/target.h | 8 ++++++++
gcc/targhooks.c | 8 ++++++++
gcc/targhooks.h | 1 +
gcc/tree-chkp.c | 14 ++++++++------
gcc/tree.c | 3 ++-
gcc/ubsan.c | 3 ++-
gcc/varasm.c | 12 ++++++------
16 files changed, 65 insertions(+), 27 deletions(-)
--
2.4.0