diff options
Diffstat (limited to 'test/torture-s/ffs-1.c.s')
-rw-r--r-- | test/torture-s/ffs-1.c.s | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/torture-s/ffs-1.c.s b/test/torture-s/ffs-1.c.s new file mode 100644 index 000000000..5bec628d2 --- /dev/null +++ b/test/torture-s/ffs-1.c.s @@ -0,0 +1,32 @@ + .text + .file "/b/build/slave/linux/build/src/buildbot/work/gcc/gcc/testsuite/gcc.c-torture/execute/ffs-1.c" + .globl main + .type main,@function +main: # @main + .result i32 + .local i32 +# BB#0: # %entry + i32.const $0=, 0 + block BB0_2 + i32.load $push0=, a($0) + br_if $pop0, BB0_2 +# BB#1: # %if.end + call exit, $0 + unreachable +BB0_2: # %if.then + call abort + unreachable +func_end0: + .size main, func_end0-main + + .type a,@object # @a + .bss + .globl a + .align 2 +a: + .int32 0 # 0x0 + .size a, 4 + + + .ident "clang version 3.8.0 " + .section ".note.GNU-stack","",@progbits |