* stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.

From-SVN: r37570
This commit is contained in:
Richard Henderson 2000-11-19 11:09:35 -08:00 committed by Richard Henderson
parent 3d6f4d76bc
commit 856442b6f3
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-11-19 Richard Henderson <rth@redhat.com>
* stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
2000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000/rs6000.c (rs6000_encode_section_info): Fix string length

View File

@ -139,7 +139,7 @@ variable_size (size)
/* The front-end doesn't want us to keep a list of the expressions
that determine sizes for variable size objects. */
;
else
else if (TREE_CODE (size) == SAVE_EXPR)
pending_sizes = tree_cons (NULL_TREE, size, pending_sizes);
return size;