https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111622
Bug ID: 111622 Summary: [13 Regression] EVRP compile-time hog compiling risc-v insn-opinit.cc Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- Compiling insn-opinit.cc with a x86_64 GCC 13.2 host compiler targeting riscv64-linux with -O2 shows tree Early VRP : 97.26 ( 77%) 0.01 ( 1%) 97.28 ( 76%) 2908k ( 0%) TOTAL : 127.13 1.06 128.21 931M and sofar unchanged on the branch head. It's improved with GCC 14 where we instead have the worst passes being alias stmt walking : 5.89 ( 19%) 0.10 ( 10%) 6.01 ( 19%) 8531k ( 1%) tree FRE : 4.73 ( 16%) 0.04 ( 4%) 4.76 ( 15%) 4325k ( 0%) GCC 12 is fine as well.