diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-12-09 10:43:54 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-12-09 10:43:54 +0000 |
commit | 61fcaeec1e95fdaf23a7c41222f895dafe84af7f (patch) | |
tree | be63bc3e99971c8686d897d24c2dec5d6c8c14d0 /gcc | |
parent | 257d5f32cee1fa8d51d2adb3cd71f8bf9823a7a5 (diff) | |
download | gcc-61fcaeec1e95fdaf23a7c41222f895dafe84af7f.zip gcc-61fcaeec1e95fdaf23a7c41222f895dafe84af7f.tar.gz gcc-61fcaeec1e95fdaf23a7c41222f895dafe84af7f.tar.bz2 |
re PR c++/16681 (array initialization in struct construct is a memory hog)
PR c++/16681
* tree-inline.c (estimate_num_insns_1): Add RANGE_EXPR case.
From-SVN: r91930
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-inline.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 666b76c..7bfcabe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-12-09 Nathan Sidwell <nathan@codesourcery.com> + + PR c++/16681 + * tree-inline.c (estimate_num_insns_1): Add RANGE_EXPR case. + 2004-12-08 Richard Henderson <rth@redhat.com> * config/i386/i386.md: Use FLAGS_REG everywhere. diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 0c72fe6..12cfe1e 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -1183,6 +1183,7 @@ estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data) case SAVE_EXPR: case ADDR_EXPR: case COMPLEX_EXPR: + case RANGE_EXPR: case CASE_LABEL_EXPR: case SSA_NAME: case CATCH_EXPR: |