blob: 399ef722a5361424f77622e8f404c3831ff33339 [file] [edit]
.text
.file "/usr/local/google/home/dschuff/s/wasm-waterfall/src/work/gcc/gcc/testsuite/gcc.c-torture/execute/20020107-1.c"
.section .text.foo,"ax",@progbits
.hidden foo
.globl foo
.type foo,@function
foo: # @foo
.param i32
.result i32
# BB#0: # %entry
#APP
#NO_APP
i32.const $push0=, 2
i32.add $push1=, $0, $pop0
# fallthrough-return: $pop1
.endfunc
.Lfunc_end0:
.size foo, .Lfunc_end0-foo
.section .text.main,"ax",@progbits
.hidden main
.globl main
.type main,@function
main: # @main
.result i32
.local i32
# BB#0: # %entry
i32.const $0=, buf
#APP
#NO_APP
block
i32.const $push1=, 1
i32.add $push2=, $0, $pop1
i32.const $push0=, buf
i32.sub $push3=, $pop2, $pop0
i32.const $push6=, 1
i32.ne $push4=, $pop3, $pop6
br_if 0, $pop4 # 0: down to label0
# BB#1: # %bar.exit
i32.const $push5=, 0
call exit@FUNCTION, $pop5
unreachable
.LBB1_2: # %if.then.i
end_block # label0:
call abort@FUNCTION
unreachable
.endfunc
.Lfunc_end1:
.size main, .Lfunc_end1-main
.hidden buf # @buf
.type buf,@object
.section .bss.buf,"aw",@nobits
.globl buf
buf:
.skip 10
.size buf, 10
.ident "clang version 4.0.0 (trunk 283460) (llvm/trunk 283507)"
.functype exit, void, i32
.functype abort, void