summaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-10 15:08:14 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-10 15:08:14 +0000
commitc43db984e8c67dffe136cd279da9c03170d2d765 (patch)
treeb9a01e3bd62e45f7afb9af8a6261043a32f33a07 /gcc/builtins.c
parent7dfa155b0b11c07d4bebe38f9d27e2ec9f2646ae (diff)
downloadgcc-c43db984e8c67dffe136cd279da9c03170d2d765.tar.gz
2011-08-10 Richard Guenther <rguenther@suse.de>
* tree.h (can_trust_pointer_alignment): Remove. * builtins.c (can_trust_pointer_alignment): Remove. cp/ * call.c (build_over_call): Call memcpy unconditionally. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177625 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 723e07f42a8..6c16821c348 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -453,16 +453,6 @@ get_object_alignment (tree exp)
return align;
}
-/* Returns true iff we can trust that alignment information has been
- calculated properly. */
-
-bool
-can_trust_pointer_alignment (void)
-{
- /* We rely on TER to compute accurate alignment information. */
- return (optimize && flag_tree_ter);
-}
-
/* Return the alignment in bits of EXP, a pointer valued expression.
The alignment returned is, by default, the alignment of the thing that
EXP points to. If it is not a POINTER_TYPE, 0 is returned.