diff options
Diffstat (limited to 'test/torture-s/pr22630.c.s')
-rw-r--r-- | test/torture-s/pr22630.c.s | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/test/torture-s/pr22630.c.s b/test/torture-s/pr22630.c.s new file mode 100644 index 000000000..6a0046231 --- /dev/null +++ b/test/torture-s/pr22630.c.s @@ -0,0 +1,45 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr22630.c" + .globl bla + .type bla,@function +bla: # @bla + .param i32 +# BB#0: # %entry + block BB0_2 + i32.const $push0=, j + i32.select $push1=, $0, $0, $pop0 + i32.eq $push2=, $pop1, $0 + br_if $pop2, BB0_2 +# BB#1: # %if.then1 + i32.const $push3=, 0 + i32.const $push4=, 1 + i32.store $discard=, j($pop3), $pop4 +BB0_2: # %if.end2 + return +func_end0: + .size bla, func_end0-bla + + .globl main + .type main,@function +main: # @main + .result i32 + .local i32 +# BB#0: # %if.end + i32.const $0=, 0 + i32.const $push0=, 1 + i32.store $discard=, j($0), $pop0 + return $0 +func_end1: + .size main, func_end1-main + + .type j,@object # @j + .bss + .globl j + .align 2 +j: + .int32 0 # 0x0 + .size j, 4 + + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |