diff options
Diffstat (limited to 'test/torture-s/pr23604.c.s')
-rw-r--r-- | test/torture-s/pr23604.c.s | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/torture-s/pr23604.c.s b/test/torture-s/pr23604.c.s new file mode 100644 index 000000000..8780e8bff --- /dev/null +++ b/test/torture-s/pr23604.c.s @@ -0,0 +1,40 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr23604.c" + .globl g + .type g,@function +g: # @g + .param i32, i32 + .result i32 + .local i32 +# BB#0: # %entry + i32.const $2=, 1 + block BB0_4 + block BB0_3 + i32.gt_u $push0=, $0, $2 + br_if $pop0, BB0_3 +# BB#1: # %if.then2 + i32.eq $push1=, $0, $1 + br_if $pop1, BB0_3 +# BB#2: # %if.then2 + i32.const $0=, 0 + br_if $1, BB0_4 +BB0_3: # %if.end9 + copy_local $0=, $2 +BB0_4: # %return + return $0 +func_end0: + .size g, func_end0-g + + .globl main + .type main,@function +main: # @main + .result i32 +# BB#0: # %if.end + i32.const $push0=, 0 + return $pop0 +func_end1: + .size main, func_end1-main + + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |