diff options
Diffstat (limited to 'test/torture-s/20000717-3.c.s')
-rw-r--r-- | test/torture-s/20000717-3.c.s | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/test/torture-s/20000717-3.c.s b/test/torture-s/20000717-3.c.s new file mode 100644 index 000000000..405979704 --- /dev/null +++ b/test/torture-s/20000717-3.c.s @@ -0,0 +1,51 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/20000717-3.c" + .globl foo + .type foo,@function +foo: # @foo + .param i32 + .result i32 + .local i32 +# BB#0: # %entry + i32.const $push1=, 0 + i32.load $1=, c($pop1) + i32.load $push0=, 0($0) + i32.const $push2=, -10 + i32.add $push3=, $pop0, $pop2 + i32.store $discard=, 0($0), $pop3 + return $1 +func_end0: + .size foo, func_end0-foo + + .globl main + .type main,@function +main: # @main + .result i32 + .local i32 +# BB#0: # %entry + i32.const $0=, 0 + block BB1_2 + i32.load $push0=, c($0) + i32.const $push1=, -1 + i32.ne $push2=, $pop0, $pop1 + br_if $pop2, BB1_2 +# BB#1: # %if.end + call exit, $0 + unreachable +BB1_2: # %if.then + call abort + unreachable +func_end1: + .size main, func_end1-main + + .type c,@object # @c + .data + .globl c + .align 2 +c: + .int32 4294967295 # 0xffffffff + .size c, 4 + + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |