diff options
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index d5ceac6..24bf3d1 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -1251,11 +1251,14 @@ estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data) case STRING_CST: *walk_subtrees = 0; return NULL; + /* Recognize assignments of large structures and constructors of big arrays. */ case INIT_EXPR: - case TARGET_EXPR: case MODIFY_EXPR: + x = TREE_OPERAND (x, 0); + /* FALLTHRU */ + case TARGET_EXPR: case CONSTRUCTOR: { HOST_WIDE_INT size; |