diff options
author | 2004-04-19 01:06:39 +0000 | |
---|---|---|
committer | 2004-04-19 01:06:39 +0000 | |
commit | 321d7bb4e2c6c03ddde816e3a0646e27dfd23576 (patch) | |
tree | 689d03f2b1f97ad9d666ce72397c902457c6ba15 | |
parent | perform strict ownership and modes checks for ~/.ssh/config files, as these (diff) | |
download | wireguard-openbsd-321d7bb4e2c6c03ddde816e3a0646e27dfd23576.tar.xz wireguard-openbsd-321d7bb4e2c6c03ddde816e3a0646e27dfd23576.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 scope.
ok pvalchev@
-rw-r--r-- | gnu/usr.bin/gcc/gcc/protector.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/gcc/gcc/protector.c b/gnu/usr.bin/gcc/gcc/protector.c index 5e7cdbcffb4..fb8970dc9d2 100644 --- a/gnu/usr.bin/gcc/gcc/protector.c +++ b/gnu/usr.bin/gcc/gcc/protector.c @@ -936,6 +936,9 @@ arrange_var_order (block) while (block && TREE_CODE(block)==BLOCK) { + /* arrange the location of character arrays in depth first. */ + arrange_var_order (BLOCK_SUBBLOCKS (block)); + types = BLOCK_VARS (block); while (types) @@ -991,8 +994,6 @@ arrange_var_order (block) types = TREE_CHAIN(types); } - arrange_var_order (BLOCK_SUBBLOCKS (block)); - block = BLOCK_CHAIN (block); } } |