https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69609
Bug ID: 69609 Summary: block reordering consumes an inordinate amount of time Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 37545 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37545&action=edit gzipped C source code The attached code, when compiled by trunk gcc 6.0.0, with flag -O2, seems to take about 17 minutes. gcc 5.3.1 seems to take about 16 minutes for the same code. In a private email, Jeffery Law says: >I do note that test is spending most of its time (90%) in block >reordering, so you might want to go ahead and file it