https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96388
Bug ID: 96388 Summary: scheduling takes forever with -fPIC Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- Created attachment 48957 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48957&action=edit testcase With -O2 -fPIC sched2 takes >20GB of memory and never completes.