diff options
Diffstat (limited to 'test/torture-s/pr55137.c.s')
-rw-r--r-- | test/torture-s/pr55137.c.s | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/test/torture-s/pr55137.c.s b/test/torture-s/pr55137.c.s new file mode 100644 index 000000000..a34823a47 --- /dev/null +++ b/test/torture-s/pr55137.c.s @@ -0,0 +1,51 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr55137.c" + .globl foo + .type foo,@function +foo: # @foo + .param i32 + .result i32 +# BB#0: # %entry + i32.const $push0=, 2147483645 + i32.gt_s $push1=, $0, $pop0 + return $pop1 +func_end0: + .size foo, func_end0-foo + + .globl bar + .type bar,@function +bar: # @bar + .param i32 + .result i32 +# BB#0: # %entry + i32.const $push0=, 2 + i32.add $push1=, $0, $pop0 + return $pop1 +func_end1: + .size bar, func_end1-bar + + .globl baz + .type baz,@function +baz: # @baz + .param i32 + .result i32 +# BB#0: # %entry + i32.const $push0=, 1 + i32.add $push1=, $0, $pop0 + return $pop1 +func_end2: + .size baz, func_end2-baz + + .globl main + .type main,@function +main: # @main + .result i32 +# BB#0: # %if.end + i32.const $push0=, 0 + return $pop0 +func_end3: + .size main, func_end3-main + + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |