summaryrefslogtreecommitdiff
path: root/test/torture-s/20071211-1.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/20071211-1.c.s')
-rw-r--r--test/torture-s/20071211-1.c.s50
1 files changed, 50 insertions, 0 deletions
diff --git a/test/torture-s/20071211-1.c.s b/test/torture-s/20071211-1.c.s
new file mode 100644
index 000000000..36c494a59
--- /dev/null
+++ b/test/torture-s/20071211-1.c.s
@@ -0,0 +1,50 @@
+ .text
+ .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/20071211-1.c"
+ .globl main
+ .type main,@function
+main: # @main
+ .result i32
+ .local i32, i64, i64, i64
+# BB#0: # %entry
+ i32.const $0=, 0
+ i64.load $1=, sv($0)
+ i64.const $2=, -1099511627776
+ i64.or $1=, $1, $2
+ i64.store $discard=, sv($0), $1
+ #APP
+ #NO_APP
+ i64.load $1=, sv($0)
+ i64.const $2=, 40
+ block BB0_2
+ i64.shr_u $push0=, $1, $2
+ i64.const $push1=, 1
+ i64.add $3=, $pop0, $pop1
+ i64.shl $push2=, $3, $2
+ i64.const $push3=, 1099511627775
+ i64.and $push4=, $1, $pop3
+ i64.or $push5=, $pop2, $pop4
+ i64.store $discard=, sv($0), $pop5
+ i64.const $push6=, 16777215
+ i64.and $push7=, $3, $pop6
+ i64.const $push8=, 0
+ i64.ne $push9=, $pop7, $pop8
+ br_if $pop9, BB0_2
+# BB#1: # %if.end
+ return $0
+BB0_2: # %if.then
+ call abort
+ unreachable
+func_end0:
+ .size main, func_end0-main
+
+ .type sv,@object # @sv
+ .bss
+ .globl sv
+ .align 3
+sv:
+ .zero 8
+ .size sv, 8
+
+
+ .ident "clang version 3.8.0 "
+ .section ".note.GNU-stack","",@progbits