https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78210
Bug ID: 78210 Summary: [7 regression] slsr-8.c scan-tree-dump-times optimized fails Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Target: aarch64 Created attachment 39963 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39963&action=edit fdump-tree-slsr-details Since r241695, gcc.dg/tree-ssa/slsr-8.c scan-tree-dump-times optimized " \\* " 9 fails on aarch64. The generated assembly is: .arch armv8-a .file "slsr-8.c" .text .align 2 .p2align 3,,7 .global f .type f, %function f: lsl w3, w0, 1 sbfiz x3, x3, 2, 32 neg x3, x3 add x1, x1, x3 cmp x1, x2 add x3, x1, x3 sub x0, x1, x0, sxtw 4 csel x0, x0, x3, ne ret .size f, .-f .ident "GCC: (GNU) 7.0.0 20161104 (experimental)" .section .note.GNU-stack,"",@progbits