diff options
author | Josh Conner <jconner@apple.com> | 2005-09-09 01:37:29 +0000 |
---|---|---|
committer | Josh Conner <jconner@apple.com> | 2005-09-09 01:37:29 +0000 |
commit | c4c4c89d12ac05476ec4ee7311aaa5ad3e16e472 (patch) | |
tree | 71a3817dd6245660974808b4df9d8fa3f76bd31e /gcc/expr.c | |
parent | 8fa240d8f18457ae22e2a5841b577ef7d2bfdd87 (diff) |
PR c++/23180
* expr.c (expand_expr_addr_expr_1): Don't invoke
expand_simple_binop for EXPAND_INITIALIZER.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104069 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expr.c b/gcc/expr.c index ff6adec6855..50886bcc8cd 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -6338,7 +6338,7 @@ expand_expr_addr_expr_1 (tree exp, rtx target, enum machine_mode tmode, result = convert_memory_address (tmode, result); tmp = convert_memory_address (tmode, tmp); - if (modifier == EXPAND_SUM) + if (modifier == EXPAND_SUM || modifier == EXPAND_INITIALIZER) result = gen_rtx_PLUS (tmode, result, tmp); else { |