diff options
Diffstat (limited to 'test/torture-s/pr27364.c.s')
-rw-r--r-- | test/torture-s/pr27364.c.s | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/test/torture-s/pr27364.c.s b/test/torture-s/pr27364.c.s new file mode 100644 index 000000000..6e867c017 --- /dev/null +++ b/test/torture-s/pr27364.c.s @@ -0,0 +1,42 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr27364.c" + .globl f + .type f,@function +f: # @f + .param i32 + .result i32 + .local i32 +# BB#0: # %entry + i32.const $1=, 0 + block BB0_2 + i32.const $push0=, 1294 + i32.gt_u $push1=, $0, $pop0 + br_if $pop1, BB0_2 +# BB#1: # %if.end + i32.const $push2=, 3321928 + i32.mul $push3=, $0, $pop2 + i32.const $push4=, 1000000 + i32.div_u $push5=, $pop3, $pop4 + i32.const $push6=, 1 + i32.add $push7=, $pop5, $pop6 + i32.const $push8=, 4 + i32.shr_u $1=, $pop7, $pop8 +BB0_2: # %return + return $1 +func_end0: + .size f, func_end0-f + + .globl main + .type main,@function +main: # @main + .result i32 +# BB#0: # %if.end + i32.const $push0=, 0 + call exit, $pop0 + unreachable +func_end1: + .size main, func_end1-main + + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |