diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-25 07:28:43 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-25 07:28:43 +0000 |
commit | e920484a9b109126c9da7c4054dc6c88a4e252c1 (patch) | |
tree | 558ea6cac9d8c5ca34adea3a972cdc6a9ca494cd /gcc/expr.c | |
parent | 5d2021de01ba3d215ddc63ae18d906bf3c59f4a6 (diff) | |
download | gcc-e920484a9b109126c9da7c4054dc6c88a4e252c1.tar.gz |
* expr.c (store_expr): Fix order of store_by_pieces arguments.
* gcc.dg/array-init-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127795 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index 244604000a9..21128958e73 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -4519,9 +4519,8 @@ store_expr (tree exp, rtx target, int call_param_p, bool nontemporal) dest_mem = store_by_pieces (dest_mem, str_copy_len, builtin_strncpy_read_str, (void *) TREE_STRING_POINTER (exp), - MEM_ALIGN (target), - exp_len > str_copy_len ? 1 : 0, - false); + MEM_ALIGN (target), false, + exp_len > str_copy_len ? 1 : 0); if (exp_len > str_copy_len) clear_storage (dest_mem, GEN_INT (exp_len - str_copy_len), BLOCK_OP_NORMAL); |