diff options
Diffstat (limited to 'test/torture-s/pr43008.c.s')
-rw-r--r-- | test/torture-s/pr43008.c.s | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/torture-s/pr43008.c.s b/test/torture-s/pr43008.c.s index 2fc514f1d..b46d7e91d 100644 --- a/test/torture-s/pr43008.c.s +++ b/test/torture-s/pr43008.c.s @@ -13,6 +13,7 @@ my_alloc: # @my_alloc i32.const $push1=, i i32.store $discard=, 0($0), $pop1 return $0 + .endfunc .Lfunc_end0: .size my_alloc, .Lfunc_end0-my_alloc @@ -35,14 +36,16 @@ main: # @main i32.store $discard=, 0($0), $pop3 i32.const $1=, 0 i32.store $discard=, i($1), $1 - block .LBB1_2 + block i32.load $push4=, 0($0) - br_if $pop4, .LBB1_2 + br_if $pop4, 0 # 0: down to label0 # BB#1: # %if.end return $1 .LBB1_2: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main @@ -56,5 +59,5 @@ i: .size i, 4 - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |