diff options
Diffstat (limited to 'test/torture-s/pr44828.c.s')
-rw-r--r-- | test/torture-s/pr44828.c.s | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test/torture-s/pr44828.c.s b/test/torture-s/pr44828.c.s new file mode 100644 index 000000000..20e45df4d --- /dev/null +++ b/test/torture-s/pr44828.c.s @@ -0,0 +1,37 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/pr44828.c" + .globl main + .type main,@function +main: # @main + .result i32 + .local i32 +# BB#0: # %entry + i32.const $0=, 0 + block BB0_2 + i32.load8_u $push0=, a($0) + i32.const $push1=, -939524096 + i32.mul $push2=, $pop0, $pop1 + i32.const $push3=, 24 + i32.shr_s $push4=, $pop2, $pop3 + i32.const $push5=, 1 + i32.ge_s $push6=, $pop4, $pop5 + br_if $pop6, BB0_2 +# BB#1: # %if.end + return $0 +BB0_2: # %if.then + call abort + unreachable +func_end0: + .size main, func_end0-main + + .type a,@object # @a + .data + .globl a + .align 2 +a: + .int32 274686410 # 0x105f61ca + .size a, 4 + + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |