(variable_size): Return SIZE if it contains a PLACEHOLDER_EXPR.

From-SVN: r8318
This commit is contained in:
Richard Kenner 1994-10-20 09:41:46 -04:00
parent 90d326bda2
commit e5852cffc2
1 changed files with 2 additions and 2 deletions

View File

@ -88,8 +88,8 @@ variable_size (size)
{
/* If the language-processor is to take responsibility for variable-sized
items (e.g., languages which have elaboration procedures like Ada),
just return SIZE unchanged. */
if (global_bindings_p () < 0)
just return SIZE unchanged. Likewise for self-referential sizes. */
if (global_bindings_p () < 0 || contains_placeholder_p (size))
return size;
size = save_expr (size);