diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-05-17 07:21:14 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-05-17 07:21:14 +0000 |
commit | c15398de775ea6bb100d761e7ebad03d2daec8a4 (patch) | |
tree | e01f710619fe0f4e9123c5986f05d48fcbd7570a /gcc/expr.c | |
parent | 74a6cc9fb5958f074feacb569b6046abd9825241 (diff) | |
download | gcc-c15398de775ea6bb100d761e7ebad03d2daec8a4.tar.gz |
tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match reality.
* tree.def (TYPE_NONCOPIED_PARTS): Revise documentation to match
reality.
* expr.c (init_noncopied_parts): Don't generate initializers for
parts that don't need them.
From-SVN: r26969
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 17fa1be1fdc..e5ef6e1ec88 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -5097,7 +5097,7 @@ init_noncopied_parts (lhs, list) for (tail = list; tail; tail = TREE_CHAIN (tail)) if (TREE_CODE (TREE_VALUE (tail)) == TREE_LIST) parts = chainon (parts, init_noncopied_parts (lhs, TREE_VALUE (tail))); - else + else if (TREE_PURPOSE (tail)) { tree part = TREE_VALUE (tail); tree part_type = TREE_TYPE (part); |