https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101523
Bug ID: 101523
Summary: Huge number of combine attempts
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: krebbel at gcc dot gnu.org
Target Milestone: ---
Compiling the attached testcase on s390x with:
cc1plus -fpreprocessed t.ii -quiet -march=z196 -g -O2 -std=c++11
produces a huge amount of combine attempts compared to x86 consuming more than
11GB of memory:
x86: 27264 combine attempts for 170631 insns
s390x: 40009540 combine attempts for 164327 insns
gcc g:6d4da4aeef5b20f7f9693ddc27d26740d0dbe36c