diff options
Diffstat (limited to 'test/torture-s/20050203-1.c.s')
-rw-r--r-- | test/torture-s/20050203-1.c.s | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/test/torture-s/20050203-1.c.s b/test/torture-s/20050203-1.c.s new file mode 100644 index 000000000..972408b70 --- /dev/null +++ b/test/torture-s/20050203-1.c.s @@ -0,0 +1,55 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/20050203-1.c" + .globl main + .type main,@function +main: # @main + .result i32 + .local i32, i32, i32, i32, i32 +# BB#0: # %entry + i32.const $1=, __stack_pointer + i32.load $1=, 0($1) + i32.const $2=, 16 + i32.sub $4=, $1, $2 + i32.const $2=, __stack_pointer + i32.store $4=, 0($2), $4 + i32.const $3=, 15 + i32.add $3=, $4, $3 + call foo, $3 + i32.load8_s $0=, 15($4) + call bar + block BB0_2 + i32.const $push0=, -1 + i32.gt_s $push1=, $0, $pop0 + br_if $pop1, BB0_2 +# BB#1: # %if.then + i32.const $push2=, 0 + call exit, $pop2 + unreachable +BB0_2: # %if.else + call abort + unreachable +func_end0: + .size main, func_end0-main + + .type foo,@function +foo: # @foo + .param i32 +# BB#0: # %entry + i32.const $push0=, 129 + i32.store8 $discard=, 0($0), $pop0 + return +func_end1: + .size foo, func_end1-foo + + .type bar,@function +bar: # @bar +# BB#0: # %entry + #APP + #NO_APP + return +func_end2: + .size bar, func_end2-bar + + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |