summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-15 17:16:36 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-15 17:16:36 +0000
commit535e202646a60eaa5765e3bb798b12f6e8a0a378 (patch)
tree70b44c9793e251ce33b1ab0e1d8094a2552453dd
parent189575ff71a07f2f922fcb2235b5a370e7567804 (diff)
downloadppe42-gcc-535e202646a60eaa5765e3bb798b12f6e8a0a378.tar.gz
ppe42-gcc-535e202646a60eaa5765e3bb798b12f6e8a0a378.zip
Cosmetic tweak to previous checkin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117751 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/builtins.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 7fe32b160a4..0d28992d2c2 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -232,13 +232,13 @@ get_pointer_alignment (tree exp, unsigned int max_align)
{
unsigned int align, inner;
- if (! POINTER_TYPE_P (TREE_TYPE (exp)))
- return 0;
-
/* We rely on TER to compute accurate alignment information. */
if (!(optimize && flag_tree_ter))
return 0;
+ if (!POINTER_TYPE_P (TREE_TYPE (exp)))
+ return 0;
+
align = TYPE_ALIGN (TREE_TYPE (TREE_TYPE (exp)));
align = MIN (align, max_align);
OpenPOWER on IntegriCloud