https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61545
Bug ID: 61545 Summary: Miscompilation in libcap-ng Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rth at gcc dot gnu.org Created attachment 32959 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32959&action=edit test case As seen in Fedora rawhide (4.9): 0x000003ffb1371ea4 <+100>: cmp w6, #0x1 0x000003ffb1371ea8 <+104>: adrp x0, 0x3ffb1385000 0x000003ffb1371eac <+108>: ldr x7, [x0,#352] 0x000003ffb1371eb0 <+112>: add x0, x0, #0x160 0x000003ffb1371eb4 <+116>: blr x7 0x000003ffb1371eb8 <+120>: mov w4, w5 0x000003ffb1371ebc <+124>: add x0, x3, x0 0x000003ffb1371ec0 <+128>: b.eq 0x3ffb1372088 <capng_update+584> but I don't see anything preventing this on HEAD. Patch to follow.