diff options
Diffstat (limited to 'test/torture-s/pr39233.c.s')
-rw-r--r-- | test/torture-s/pr39233.c.s | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/torture-s/pr39233.c.s b/test/torture-s/pr39233.c.s index 7481e0998..8cfd2a4cc 100644 --- a/test/torture-s/pr39233.c.s +++ b/test/torture-s/pr39233.c.s @@ -7,19 +7,21 @@ foo: # @foo .param i32 # BB#0: # %entry - block .LBB0_3 + block i32.const $push0=, 0 i32.lt_s $push1=, $0, $pop0 - br_if $pop1, .LBB0_3 + br_if $pop1, 0 # 0: down to label0 # BB#1: # %entry i32.const $push2=, 7 i32.ge_s $push3=, $0, $pop2 - br_if $pop3, .LBB0_3 + br_if $pop3, 0 # 0: down to label0 # BB#2: # %if.end return .LBB0_3: # %if.then + end_block # label0: call abort@FUNCTION unreachable + .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -46,9 +48,10 @@ main: # @main i32.const $0=, 0 call foo@FUNCTION, $0 return $0 + .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main - .ident "clang version 3.8.0 " + .ident "clang version 3.9.0 " .section ".note.GNU-stack","",@progbits |