summaryrefslogtreecommitdiff
path: root/gcc/tree-sra.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r--gcc/tree-sra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index ab60748c970..2d97845ffe6 100644
--- a/gcc/tree-sra.c
+++ b/gcc/tree-sra.c
@@ -1085,7 +1085,7 @@ tree_non_mode_aligned_mem_p (tree exp)
|| !STRICT_ALIGNMENT)
return false;
- align = get_object_alignment (exp, BIGGEST_ALIGNMENT);
+ align = get_object_alignment (exp);
if (GET_MODE_ALIGNMENT (mode) > align)
return true;