summaryrefslogtreecommitdiff
path: root/test/torture-s/struct-cpy-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/struct-cpy-1.c.s')
-rw-r--r--test/torture-s/struct-cpy-1.c.s55
1 files changed, 55 insertions, 0 deletions
diff --git a/test/torture-s/struct-cpy-1.c.s b/test/torture-s/struct-cpy-1.c.s
new file mode 100644
index 000000000..277914a6e
--- /dev/null
+++ b/test/torture-s/struct-cpy-1.c.s
@@ -0,0 +1,55 @@
+ .text
+ .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/struct-cpy-1.c"
+ .globl ini
+ .type ini,@function
+ini: # @ini
+ .local i32
+# BB#0: # %entry
+ i32.const $push2=, pty+40
+ i32.const $push0=, zero_t
+ i32.const $push1=, 44
+ call memcpy, $pop2, $pop0, $pop1
+ i32.const $0=, 0
+ i32.const $push4=, 3
+ i32.store $discard=, pty+48($0), $pop4
+ i32.const $push5=, 4
+ i32.store $discard=, pty+52($0), $pop5
+ i64.const $push3=, 8589934593
+ i64.store $discard=, pty+40($0), $pop3
+ return
+func_end0:
+ .size ini, func_end0-ini
+
+ .globl main
+ .type main,@function
+main: # @main
+ .result i32
+ .local i32
+# BB#0: # %entry
+ i32.const $push2=, pty+40
+ i32.const $push0=, zero_t
+ i32.const $push1=, 44
+ call memcpy, $pop2, $pop0, $pop1
+ i32.const $0=, 0
+ i32.const $push4=, 3
+ i32.store $discard=, pty+48($0), $pop4
+ i32.const $push5=, 4
+ i32.store $discard=, pty+52($0), $pop5
+ i64.const $push3=, 8589934593
+ i64.store $discard=, pty+40($0), $pop3
+ return $0
+func_end1:
+ .size main, func_end1-main
+
+ .type pty,@object # @pty
+ .lcomm pty,88,3
+ .type zero_t,@object # @zero_t
+ .section .rodata,"a",@progbits
+ .align 2
+zero_t:
+ .zero 44
+ .size zero_t, 44
+
+
+ .ident "clang version 3.8.0 "
+ .section ".note.GNU-stack","",@progbits