From 171035bb080d30a435eeda7ca5bef9c087e02524 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 Aug 2021 22:09:15 +0200 Subject: [PATCH] Oops, remove unintended file additions. --- lib/foo.c | 11 ----------- lib/foo.s | 40 ---------------------------------------- 2 files changed, 51 deletions(-) delete mode 100644 lib/foo.c delete mode 100644 lib/foo.s diff --git a/lib/foo.c b/lib/foo.c deleted file mode 100644 index bf409c6772..0000000000 --- a/lib/foo.c +++ /dev/null @@ -1,11 +0,0 @@ -int foo (int x) -{ - x += 2; - if (x & 1) - goto a; -b: -__attribute__ ((__maybe_unused__)); - x *= 3; -a: - return x; -} diff --git a/lib/foo.s b/lib/foo.s deleted file mode 100644 index 7e6fa5df0c..0000000000 --- a/lib/foo.s +++ /dev/null @@ -1,40 +0,0 @@ - .text - .file "foo.c" - .globl _Z3fooi # -- Begin function _Z3fooi - .p2align 4, 0x90 - .type _Z3fooi,@function -_Z3fooi: # @_Z3fooi - .cfi_startproc -# %bb.0: - pushq %rbp - .cfi_def_cfa_offset 16 - .cfi_offset %rbp, -16 - movq %rsp, %rbp - .cfi_def_cfa_register %rbp - movl %edi, -4(%rbp) - movl -4(%rbp), %eax - addl $2, %eax - movl %eax, -4(%rbp) - movl -4(%rbp), %eax - andl $1, %eax - cmpl $0, %eax - je .LBB0_2 -# %bb.1: - jmp .LBB0_4 -.LBB0_2: - jmp .LBB0_3 -.LBB0_3: - imull $3, -4(%rbp), %eax - movl %eax, -4(%rbp) -.LBB0_4: - movl -4(%rbp), %eax - popq %rbp - .cfi_def_cfa %rsp, 8 - retq -.Lfunc_end0: - .size _Z3fooi, .Lfunc_end0-_Z3fooi - .cfi_endproc - # -- End function - .ident "clang version 11.0.0" - .section ".note.GNU-stack","",@progbits - .addrsig -- 2.39.5