diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-08-25 09:28:43 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-08-25 09:28:43 +0200 |
commit | 65fedc2c74fc2a77798553ea0dffc070c36a8773 (patch) | |
tree | 558ea6cac9d8c5ca34adea3a972cdc6a9ca494cd /gcc/expr.c | |
parent | 272a4b3686f415fb0407678b7dd07102a3455f14 (diff) | |
download | gcc-65fedc2c74fc2a77798553ea0dffc070c36a8773.zip gcc-65fedc2c74fc2a77798553ea0dffc070c36a8773.tar.gz gcc-65fedc2c74fc2a77798553ea0dffc070c36a8773.tar.bz2 |
expr.c (store_expr): Fix order of store_by_pieces arguments.
* expr.c (store_expr): Fix order of store_by_pieces arguments.
* gcc.dg/array-init-2.c: New test.
From-SVN: r127795
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |