summaryrefslogtreecommitdiff
path: root/test/torture-s/pr31605.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr31605.c.s')
-rw-r--r--test/torture-s/pr31605.c.s37
1 files changed, 37 insertions, 0 deletions
diff --git a/test/torture-s/pr31605.c.s b/test/torture-s/pr31605.c.s
new file mode 100644
index 000000000..95dba4d11
--- /dev/null
+++ b/test/torture-s/pr31605.c.s
@@ -0,0 +1,37 @@
+ .text
+ .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr31605.c"
+ .globl put_field
+ .type put_field,@function
+put_field: # @put_field
+ .param i32, i32
+ .local i32
+# BB#0: # %entry
+ i32.const $2=, -8
+ block BB0_2
+ i32.add $push0=, $1, $0
+ i32.or $push1=, $pop0, $2
+ i32.ne $push2=, $pop1, $2
+ br_if $pop2, BB0_2
+# BB#1: # %if.end
+ return
+BB0_2: # %if.then
+ i32.const $push3=, 0
+ call exit, $pop3
+ unreachable
+func_end0:
+ .size put_field, func_end0-put_field
+
+ .globl main
+ .type main,@function
+main: # @main
+ .result i32
+# BB#0: # %entry
+ 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