projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90d326b
)
(variable_size): Return SIZE if it contains a PLACEHOLDER_EXPR.
author
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 20 Oct 1994 13:41:46 +0000
(09:41 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 20 Oct 1994 13:41:46 +0000
(09:41 -0400)
From-SVN: r8318
gcc/stor-layout.c
patch
|
blob
|
history
diff --git
a/gcc/stor-layout.c
b/gcc/stor-layout.c
index 9fdc65100d63f35811cf7c9850703a186ebb550b..834e96d392bc9abe188757a3950e763f3ee76e95 100644
(file)
--- a/
gcc/stor-layout.c
+++ b/
gcc/stor-layout.c
@@
-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);