summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/egcs/gcc')
-rw-r--r--gnu/egcs/gcc/protector.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/egcs/gcc/protector.c b/gnu/egcs/gcc/protector.c
index ea2b65fa55d..eac869f8b91 100644
--- a/gnu/egcs/gcc/protector.c
+++ b/gnu/egcs/gcc/protector.c
@@ -912,6 +912,9 @@ arrange_var_order (block)
while (block)
{
+ /* arrange the location of character arrays in depth first. */
+ arrange_var_order (BLOCK_SUBBLOCKS (block));
+
types = BLOCK_VARS (block);
while (types)
@@ -969,8 +972,6 @@ arrange_var_order (block)
types = TREE_CHAIN(types);
}
- arrange_var_order (BLOCK_SUBBLOCKS (block));
-
block = BLOCK_CHAIN (block);
}
}