summaryrefslogtreecommitdiff
path: root/test/torture-s/20080424-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20080424-1.c.s')
-rw-r--r--test/torture-s/20080424-1.c.s80
1 files changed, 80 insertions, 0 deletions
diff --git a/test/torture-s/20080424-1.c.s b/test/torture-s/20080424-1.c.s
new file mode 100644
index 000000000..ec968b770
--- /dev/null
+++ b/test/torture-s/20080424-1.c.s
@@ -0,0 +1,80 @@
+ .text
+ .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/20080424-1.c"
+ .globl bar
+ .type bar,@function
+bar: # @bar
+ .param i32, i32
+ .local i32, i32, i32
+# BB#0: # %entry
+ i32.const $3=, 0
+ i32.load $2=, bar.i($3)
+ block BB0_3
+ i32.const $push0=, 36
+ i32.mul $push1=, $2, $pop0
+ i32.const $push2=, g
+ i32.add $4=, $pop1, $pop2
+ i32.const $push3=, 288
+ i32.add $push4=, $4, $pop3
+ i32.ne $push5=, $pop4, $0
+ br_if $pop5, BB0_3
+# BB#1: # %lor.lhs.false
+ i32.const $push6=, 1
+ i32.add $push7=, $2, $pop6
+ i32.store $discard=, bar.i($3), $pop7
+ i32.ne $push8=, $4, $1
+ br_if $pop8, BB0_3
+# BB#2: # %if.end
+ return
+BB0_3: # %if.then
+ call abort
+ unreachable
+func_end0:
+ .size bar, func_end0-bar
+
+ .globl main
+ .type main,@function
+main: # @main
+ .result i32
+# BB#0: # %entry
+ i32.const $push1=, g+288
+ i32.const $push0=, g
+ call bar, $pop1, $pop0
+ i32.const $push3=, g+324
+ i32.const $push2=, g+36
+ call bar, $pop3, $pop2
+ i32.const $push5=, g+360
+ i32.const $push4=, g+72
+ call bar, $pop5, $pop4
+ i32.const $push7=, g+396
+ i32.const $push6=, g+108
+ call bar, $pop7, $pop6
+ i32.const $push9=, g+432
+ i32.const $push8=, g+144
+ call bar, $pop9, $pop8
+ i32.const $push11=, g+468
+ i32.const $push10=, g+180
+ call bar, $pop11, $pop10
+ i32.const $push13=, g+504
+ i32.const $push12=, g+216
+ call bar, $pop13, $pop12
+ i32.const $push15=, g+540
+ i32.const $push14=, g+252
+ call bar, $pop15, $pop14
+ i32.const $push16=, 0
+ return $pop16
+func_end1:
+ .size main, func_end1-main
+
+ .type bar.i,@object # @bar.i
+ .lcomm bar.i,4,2
+ .type g,@object # @g
+ .bss
+ .globl g
+ .align 4
+g:
+ .zero 1728
+ .size g, 1728
+
+
+ .ident "clang version 3.8.0 "
+ .section ".note.GNU-stack","",@progbits