From: Bernd Edlinger Date: Wed, 14 Aug 2019 17:33:14 +0000 (+0000) Subject: builtins.c (expand_builtin_init_descriptor): Set memory alignment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bdf9f92531932ff1bb238ed84bf90597d9be3d2;p=gcc.git builtins.c (expand_builtin_init_descriptor): Set memory alignment. 2019-08-14 Bernd Edlinger * builtins.c (expand_builtin_init_descriptor): Set memory alignment. From-SVN: r274487 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e2158be4a1..9f52514667c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-08-14 Bernd Edlinger + + * builtins.c (expand_builtin_init_descriptor): Set memory alignment. + 2019-08-14 Martin Sebor PR tree-optimization/91294 diff --git a/gcc/builtins.c b/gcc/builtins.c index ece9f56e052..9a766e4ad63 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -5756,6 +5756,7 @@ expand_builtin_init_descriptor (tree exp) r_descr = expand_normal (t_descr); m_descr = gen_rtx_MEM (BLKmode, r_descr); MEM_NOTRAP_P (m_descr) = 1; + set_mem_align (m_descr, GET_MODE_ALIGNMENT (ptr_mode)); r_func = expand_normal (t_func); r_chain = expand_normal (t_chain);