diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-16 23:24:25 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-16 23:24:25 +0100 |
commit | 266aa000126dcbb9e1c93306165f433a167bb50a (patch) | |
tree | 493b3f1230dfbf0ea54d4abda4b8c20045ecd667 /testsuite | |
parent | 8e7686e4577ac7b07845d16fd95a39a4ce0af3c1 (diff) | |
download | busybox-w32-266aa000126dcbb9e1c93306165f433a167bb50a.tar.gz busybox-w32-266aa000126dcbb9e1c93306165f433a167bb50a.tar.bz2 busybox-w32-266aa000126dcbb9e1c93306165f433a167bb50a.zip |
bc: store only index in p->exits, it's the only thing used there
function old new delta
zbc_parse_stmt_possibly_auto 1967 1964 -3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-3) Total: -3 bytes
text data bss dec hex filename
981937 485 7296 989718 f1a16 busybox_old
981934 485 7296 989715 f1a13 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/bc.tests | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/bc.tests b/testsuite/bc.tests index 0690e9c6f..d057bea17 100755 --- a/testsuite/bc.tests +++ b/testsuite/bc.tests | |||
@@ -134,6 +134,23 @@ while(i--) { | |||
134 | 99 | 134 | 99 |
135 | " | 135 | " |
136 | 136 | ||
137 | testing "bc continue in for" \ | ||
138 | "bc" \ | ||
139 | "\ | ||
140 | 1 | ||
141 | 77 | ||
142 | 2 | ||
143 | 99 | ||
144 | " \ | ||
145 | "" "\ | ||
146 | for(i=1; i<3; i++) { | ||
147 | i | ||
148 | if(i==2) continue | ||
149 | 77 | ||
150 | } | ||
151 | 99 | ||
152 | " | ||
153 | |||
137 | tar xJf bc_large.tar.xz | 154 | tar xJf bc_large.tar.xz |
138 | 155 | ||
139 | for f in bc*.bc; do | 156 | for f in bc*.bc; do |