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