https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110849
Bug ID: 110849 Summary: [14 Regression] XPASS in gcc.dg/unroll-7.c Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: patrick at rivosinc dot com Target Milestone: --- New XPASS on trunk: XPASS: gcc.dg/unroll-7.c scan-rtl-dump-not loop2_unroll "Invalid sum" Bisected to https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=a7d4310aed539b04345894ebafb49ca364780653 "Fix profile update after RTL unrolling" Tested using make-report in https://github.com/riscv-collab/riscv-gnu-toolchain with tip-of-tree gcc Confirmed XPASS failure on: linux rv32gc ilp32d medlow linux rv64gc lp64d medlow newlib rv32gc ilp32d medlow newlib rv64gc lp64d medlow It doesn't seem like it would be a target-specific issue, but the patch was regtested on x86 before being committed. https://inbox.sourceware.org/gcc-patches/zmk34wjgbf4mn...@kam.mff.cuni.cz/T/#u I'm guessing on the component so feel free to update the report if it's not a tree-optimization issue :)