summaryrefslogtreecommitdiff
path: root/test/torture-s/fprintf-chk-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/fprintf-chk-1.c.s')
-rw-r--r--test/torture-s/fprintf-chk-1.c.s228
1 files changed, 34 insertions, 194 deletions
diff --git a/test/torture-s/fprintf-chk-1.c.s b/test/torture-s/fprintf-chk-1.c.s
index 21e78cb48..95e57a1c2 100644
--- a/test/torture-s/fprintf-chk-1.c.s
+++ b/test/torture-s/fprintf-chk-1.c.s
@@ -61,43 +61,11 @@ main: # @main
i32.const $push81=, 0
i32.call $discard=, __fprintf_chk@FUNCTION, $pop1, $0, $pop82, $pop81
block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
- block
i32.const $push80=, 0
i32.load $push2=, should_optimize($pop80)
i32.const $push178=, 0
i32.eq $push179=, $pop2, $pop178
- br_if 0, $pop179 # 0: down to label33
+ br_if 0, $pop179 # 0: down to label1
# BB#1: # %if.end
i32.const $push89=, 0
i32.const $push88=, 0
@@ -108,13 +76,13 @@ main: # @main
i32.call $push4=, __fprintf_chk@FUNCTION, $pop3, $0, $pop85, $0
i32.const $push5=, 5
i32.ne $push6=, $pop4, $pop5
- br_if 1, $pop6 # 1: down to label32
+ br_if 0, $pop6 # 0: down to label1
# BB#2: # %if.end3
i32.const $push90=, 0
i32.load $push7=, should_optimize($pop90)
i32.const $push180=, 0
i32.eq $push181=, $pop7, $pop180
- br_if 2, $pop181 # 2: down to label31
+ br_if 0, $pop181 # 0: down to label1
# BB#3: # %if.end6
i32.const $push95=, 0
i32.const $push8=, 1
@@ -128,7 +96,7 @@ main: # @main
i32.load $push10=, should_optimize($pop91)
i32.const $push182=, 0
i32.eq $push183=, $pop10, $pop182
- br_if 3, $pop183 # 3: down to label30
+ br_if 0, $pop183 # 0: down to label1
# BB#4: # %if.end10
i32.const $push11=, 0
i32.const $push99=, 0
@@ -139,12 +107,12 @@ main: # @main
i32.call $push13=, __fprintf_chk@FUNCTION, $pop12, $0, $pop96, $0
i32.const $push14=, 6
i32.ne $push15=, $pop13, $pop14
- br_if 4, $pop15 # 4: down to label29
+ br_if 0, $pop15 # 0: down to label1
# BB#5: # %if.end14
i32.load $push16=, should_optimize($0)
i32.const $push184=, 0
i32.eq $push185=, $pop16, $pop184
- br_if 5, $pop185 # 5: down to label28
+ br_if 0, $pop185 # 0: down to label1
# BB#6: # %if.end17
i32.const $push104=, 0
i32.const $push17=, 1
@@ -158,7 +126,7 @@ main: # @main
i32.load $push19=, should_optimize($pop100)
i32.const $push186=, 0
i32.eq $push187=, $pop19, $pop186
- br_if 6, $pop187 # 6: down to label27
+ br_if 0, $pop187 # 0: down to label1
# BB#7: # %if.end21
i32.const $push109=, 0
i32.const $push108=, 0
@@ -168,13 +136,13 @@ main: # @main
i32.const $push105=, .L.str.2
i32.call $push21=, __fprintf_chk@FUNCTION, $pop20, $0, $pop105, $1
i32.ne $push22=, $pop21, $0
- br_if 7, $pop22 # 7: down to label26
+ br_if 0, $pop22 # 0: down to label1
# BB#8: # %if.end25
i32.const $push110=, 0
i32.load $push23=, should_optimize($pop110)
i32.const $push188=, 0
i32.eq $push189=, $pop23, $pop188
- br_if 8, $pop189 # 8: down to label25
+ br_if 0, $pop189 # 0: down to label1
# BB#9: # %if.end28
i32.const $push115=, 0
i32.const $push24=, 1
@@ -188,7 +156,7 @@ main: # @main
i32.load $push26=, should_optimize($pop111)
i32.const $push190=, 0
i32.eq $push191=, $pop26, $pop190
- br_if 9, $pop191 # 9: down to label24
+ br_if 0, $pop191 # 0: down to label1
# BB#10: # %if.end32
i32.const $push27=, 0
i32.const $push119=, 0
@@ -197,12 +165,12 @@ main: # @main
i32.load $push28=, stdout($pop117)
i32.const $push116=, .L.str.3
i32.call $push29=, __fprintf_chk@FUNCTION, $pop28, $0, $pop116, $0
- br_if 10, $pop29 # 10: down to label23
+ br_if 0, $pop29 # 0: down to label1
# BB#11: # %if.end36
i32.load $push30=, should_optimize($0)
i32.const $push192=, 0
i32.eq $push193=, $pop30, $pop192
- br_if 11, $pop193 # 11: down to label22
+ br_if 0, $pop193 # 0: down to label1
# BB#12: # %if.end39
i32.const $push123=, 0
i32.const $push31=, 1
@@ -219,7 +187,7 @@ main: # @main
i32.load $push33=, should_optimize($pop120)
i32.const $push194=, 0
i32.eq $push195=, $pop33, $pop194
- br_if 12, $pop195 # 12: down to label21
+ br_if 0, $pop195 # 0: down to label1
# BB#13: # %if.end43
i32.const $push126=, 0
i32.const $push125=, 0
@@ -232,13 +200,13 @@ main: # @main
i32.call $push35=, __fprintf_chk@FUNCTION, $0, $0, $pop124, $7
i32.const $push36=, 5
i32.ne $push37=, $pop35, $pop36
- br_if 13, $pop37 # 13: down to label20
+ br_if 0, $pop37 # 0: down to label1
# BB#14: # %if.end47
i32.const $push127=, 0
i32.load $push38=, should_optimize($pop127)
i32.const $push196=, 0
i32.eq $push197=, $pop38, $pop196
- br_if 14, $pop197 # 14: down to label19
+ br_if 0, $pop197 # 0: down to label1
# BB#15: # %if.end50
i32.const $push131=, 0
i32.const $push39=, 1
@@ -255,7 +223,7 @@ main: # @main
i32.load $push41=, should_optimize($pop128)
i32.const $push198=, 0
i32.eq $push199=, $pop41, $pop198
- br_if 15, $pop199 # 15: down to label18
+ br_if 0, $pop199 # 0: down to label1
# BB#16: # %if.end54
i32.const $push42=, 0
i32.const $push135=, 0
@@ -269,12 +237,12 @@ main: # @main
i32.call $push43=, __fprintf_chk@FUNCTION, $0, $0, $pop132, $9
i32.const $push44=, 6
i32.ne $push45=, $pop43, $pop44
- br_if 16, $pop45 # 16: down to label17
+ br_if 0, $pop45 # 0: down to label1
# BB#17: # %if.end58
i32.load $push46=, should_optimize($2)
i32.const $push200=, 0
i32.eq $push201=, $pop46, $pop200
- br_if 17, $pop201 # 17: down to label16
+ br_if 0, $pop201 # 0: down to label1
# BB#18: # %if.end61
i32.const $push139=, 0
i32.const $push47=, 1
@@ -291,7 +259,7 @@ main: # @main
i32.load $push49=, should_optimize($pop136)
i32.const $push202=, 0
i32.eq $push203=, $pop49, $pop202
- br_if 18, $pop203 # 18: down to label15
+ br_if 0, $pop203 # 0: down to label1
# BB#19: # %if.end65
i32.const $push142=, 0
i32.const $push141=, 0
@@ -303,13 +271,13 @@ main: # @main
i32.add $11=, $19, $11
i32.call $push51=, __fprintf_chk@FUNCTION, $0, $0, $pop140, $11
i32.ne $push52=, $pop51, $1
- br_if 19, $pop52 # 19: down to label14
+ br_if 0, $pop52 # 0: down to label1
# BB#20: # %if.end69
i32.const $push143=, 0
i32.load $push53=, should_optimize($pop143)
i32.const $push204=, 0
i32.eq $push205=, $pop53, $pop204
- br_if 20, $pop205 # 20: down to label13
+ br_if 0, $pop205 # 0: down to label1
# BB#21: # %if.end72
i32.const $push147=, 0
i32.const $push54=, 1
@@ -326,7 +294,7 @@ main: # @main
i32.load $push56=, should_optimize($pop144)
i32.const $push206=, 0
i32.eq $push207=, $pop56, $pop206
- br_if 21, $pop207 # 21: down to label12
+ br_if 0, $pop207 # 0: down to label1
# BB#22: # %if.end76
i32.const $push57=, 0
i32.const $push151=, 0
@@ -338,12 +306,12 @@ main: # @main
i32.const $13=, 96
i32.add $13=, $19, $13
i32.call $push58=, __fprintf_chk@FUNCTION, $0, $0, $pop148, $13
- br_if 22, $pop58 # 22: down to label11
+ br_if 0, $pop58 # 0: down to label1
# BB#23: # %if.end80
i32.load $push59=, should_optimize($2)
i32.const $push208=, 0
i32.eq $push209=, $pop59, $pop208
- br_if 23, $pop209 # 23: down to label10
+ br_if 0, $pop209 # 0: down to label1
# BB#24: # %if.end83
i32.const $push155=, 0
i32.const $push60=, 1
@@ -360,7 +328,7 @@ main: # @main
i32.load $push62=, should_optimize($pop152)
i32.const $push210=, 0
i32.eq $push211=, $pop62, $pop210
- br_if 24, $pop211 # 24: down to label9
+ br_if 0, $pop211 # 0: down to label1
# BB#25: # %if.end87
i32.const $push158=, 0
i32.const $push157=, 0
@@ -372,13 +340,13 @@ main: # @main
i32.add $15=, $19, $15
i32.call $push64=, __fprintf_chk@FUNCTION, $0, $0, $pop156, $15
i32.ne $push65=, $pop64, $1
- br_if 25, $pop65 # 25: down to label8
+ br_if 0, $pop65 # 0: down to label1
# BB#26: # %if.end91
i32.const $push159=, 0
i32.load $push66=, should_optimize($pop159)
i32.const $push212=, 0
i32.eq $push213=, $pop66, $pop212
- br_if 26, $pop213 # 26: down to label7
+ br_if 0, $pop213 # 0: down to label1
# BB#27: # %if.end94
i32.const $push164=, 0
i32.const $push163=, 0
@@ -394,7 +362,7 @@ main: # @main
i32.load $push68=, should_optimize($0)
i32.const $push214=, 0
i32.eq $push215=, $pop68, $pop214
- br_if 27, $pop215 # 27: down to label6
+ br_if 0, $pop215 # 0: down to label1
# BB#28: # %if.end98
i32.const $push69=, 0
i32.const $push168=, 0
@@ -408,12 +376,12 @@ main: # @main
i32.call $push70=, __fprintf_chk@FUNCTION, $0, $0, $pop165, $17
i32.const $push71=, 7
i32.ne $push72=, $pop70, $pop71
- br_if 28, $pop72 # 28: down to label5
+ br_if 0, $pop72 # 0: down to label1
# BB#29: # %if.end102
i32.load $push73=, should_optimize($1)
i32.const $push216=, 0
i32.eq $push217=, $pop73, $pop216
- br_if 29, $pop217 # 29: down to label4
+ br_if 0, $pop217 # 0: down to label1
# BB#30: # %if.end105
i32.const $push74=, 0
i32.const $push172=, 0
@@ -428,7 +396,7 @@ main: # @main
i32.load $push75=, should_optimize($0)
i32.const $push218=, 0
i32.eq $push219=, $pop75, $pop218
- br_if 30, $pop219 # 30: down to label3
+ br_if 0, $pop219 # 0: down to label1
# BB#31: # %if.end109
i32.store $push175=, should_optimize($0), $0
tee_local $push174=, $0=, $pop175
@@ -438,13 +406,13 @@ main: # @main
i32.call $push76=, __fprintf_chk@FUNCTION, $1, $0, $pop173, $19
i32.const $push77=, 2
i32.ne $push78=, $pop76, $pop77
- br_if 31, $pop78 # 31: down to label2
+ br_if 0, $pop78 # 0: down to label1
# BB#32: # %if.end113
i32.const $push176=, 0
i32.load $push79=, should_optimize($pop176)
i32.const $push220=, 0
i32.eq $push221=, $pop79, $pop220
- br_if 32, $pop221 # 32: down to label1
+ br_if 0, $pop221 # 0: down to label1
# BB#33: # %if.end116
i32.const $push177=, 0
i32.const $5=, 224
@@ -452,135 +420,7 @@ main: # @main
i32.const $5=, __stack_pointer
i32.store $19=, 0($5), $19
return $pop177
-.LBB1_34: # %if.then
- end_block # label33:
- call abort@FUNCTION
- unreachable
-.LBB1_35: # %if.then2
- end_block # label32:
- call abort@FUNCTION
- unreachable
-.LBB1_36: # %if.then5
- end_block # label31:
- call abort@FUNCTION
- unreachable
-.LBB1_37: # %if.then9
- end_block # label30:
- call abort@FUNCTION
- unreachable
-.LBB1_38: # %if.then13
- end_block # label29:
- call abort@FUNCTION
- unreachable
-.LBB1_39: # %if.then16
- end_block # label28:
- call abort@FUNCTION
- unreachable
-.LBB1_40: # %if.then20
- end_block # label27:
- call abort@FUNCTION
- unreachable
-.LBB1_41: # %if.then24
- end_block # label26:
- call abort@FUNCTION
- unreachable
-.LBB1_42: # %if.then27
- end_block # label25:
- call abort@FUNCTION
- unreachable
-.LBB1_43: # %if.then31
- end_block # label24:
- call abort@FUNCTION
- unreachable
-.LBB1_44: # %if.then35
- end_block # label23:
- call abort@FUNCTION
- unreachable
-.LBB1_45: # %if.then38
- end_block # label22:
- call abort@FUNCTION
- unreachable
-.LBB1_46: # %if.then42
- end_block # label21:
- call abort@FUNCTION
- unreachable
-.LBB1_47: # %if.then46
- end_block # label20:
- call abort@FUNCTION
- unreachable
-.LBB1_48: # %if.then49
- end_block # label19:
- call abort@FUNCTION
- unreachable
-.LBB1_49: # %if.then53
- end_block # label18:
- call abort@FUNCTION
- unreachable
-.LBB1_50: # %if.then57
- end_block # label17:
- call abort@FUNCTION
- unreachable
-.LBB1_51: # %if.then60
- end_block # label16:
- call abort@FUNCTION
- unreachable
-.LBB1_52: # %if.then64
- end_block # label15:
- call abort@FUNCTION
- unreachable
-.LBB1_53: # %if.then68
- end_block # label14:
- call abort@FUNCTION
- unreachable
-.LBB1_54: # %if.then71
- end_block # label13:
- call abort@FUNCTION
- unreachable
-.LBB1_55: # %if.then75
- end_block # label12:
- call abort@FUNCTION
- unreachable
-.LBB1_56: # %if.then79
- end_block # label11:
- call abort@FUNCTION
- unreachable
-.LBB1_57: # %if.then82
- end_block # label10:
- call abort@FUNCTION
- unreachable
-.LBB1_58: # %if.then86
- end_block # label9:
- call abort@FUNCTION
- unreachable
-.LBB1_59: # %if.then90
- end_block # label8:
- call abort@FUNCTION
- unreachable
-.LBB1_60: # %if.then93
- end_block # label7:
- call abort@FUNCTION
- unreachable
-.LBB1_61: # %if.then97
- end_block # label6:
- call abort@FUNCTION
- unreachable
-.LBB1_62: # %if.then101
- end_block # label5:
- call abort@FUNCTION
- unreachable
-.LBB1_63: # %if.then104
- end_block # label4:
- call abort@FUNCTION
- unreachable
-.LBB1_64: # %if.then108
- end_block # label3:
- call abort@FUNCTION
- unreachable
-.LBB1_65: # %if.then112
- end_block # label2:
- call abort@FUNCTION
- unreachable
-.LBB1_66: # %if.then115
+.LBB1_34: # %if.then115
end_block # label1:
call abort@FUNCTION
unreachable