diff options
author | 2004-04-19 01:09:00 +0000 | |
---|---|---|
committer | 2004-04-19 01:09:00 +0000 | |
commit | 63500124c560463c1cb6f1d76b84574f52dc0bc1 (patch) | |
tree | 20a390d10f783389ee3b93de229fea1ce2551cbb | |
parent | fix mysql bug: http://bugs.mysql.com/bug.php?id=1442 (diff) | |
download | wireguard-openbsd-63500124c560463c1cb6f1d76b84574f52dc0bc1.tar.xz wireguard-openbsd-63500124c560463c1cb6f1d76b84574f52dc0bc1.zip |
fix mysql bug: http://bugs.mysql.com/bug.php?id=1442
changed the order of array relocation with the depth first order of variable sco
pe.
ok pvalchev@
-rw-r--r-- | gnu/egcs/gcc/protector.c | 5 |
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); } } |