summaryrefslogtreecommitdiff
path: root/test/torture-s/pr37882.c.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/torture-s/pr37882.c.s')
-rw-r--r--test/torture-s/pr37882.c.s29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/torture-s/pr37882.c.s b/test/torture-s/pr37882.c.s
new file mode 100644
index 000000000..e4e5189ac
--- /dev/null
+++ b/test/torture-s/pr37882.c.s
@@ -0,0 +1,29 @@
+ .text
+ .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr37882.c"
+ .globl main
+ .type main,@function
+main: # @main
+ .result i32
+ .local i32
+# BB#0: # %entry
+ i32.const $0=, 0
+ i32.load8_u $push0=, s($0)
+ i32.const $push1=, 248
+ i32.and $push2=, $pop0, $pop1
+ i32.const $push3=, 4
+ i32.or $push4=, $pop2, $pop3
+ i32.store8 $discard=, s($0), $pop4
+ return $0
+func_end0:
+ .size main, func_end0-main
+
+ .type s,@object # @s
+ .bss
+ .globl s
+s:
+ .zero 1
+ .size s, 1
+
+
+ .ident "clang version 3.8.0 "
+ .section ".note.GNU-stack","",@progbits