diff options
Diffstat (limited to 'test/torture-s/pr52286.c.s')
-rw-r--r-- | test/torture-s/pr52286.c.s | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/torture-s/pr52286.c.s b/test/torture-s/pr52286.c.s new file mode 100644 index 000000000..19401393e --- /dev/null +++ b/test/torture-s/pr52286.c.s @@ -0,0 +1,27 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr52286.c" + .globl main + .type main,@function +main: # @main + .result i32 + .local i32, i32 +# BB#0: # %entry + i32.const $1=, 0 + copy_local $0=, $1 + #APP + #NO_APP + block BB0_2 + i32.const $push0=, -1 + i32.le_s $push1=, $0, $pop0 + br_if $pop1, BB0_2 +# BB#1: # %if.end + return $1 +BB0_2: # %if.then + call abort + unreachable +func_end0: + .size main, func_end0-main + + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |