This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/18927] O(n^2) compile time with -O0 (n= number of basic blocks) in local alloc
- From: "steven at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 20 May 2012 21:47:37 +0000
- Subject: [Bug middle-end/18927] O(n^2) compile time with -O0 (n= number of basic blocks) in local alloc
- Auto-submitted: auto-generated
- References: <bug-18927-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18927
Steven Bosscher <steven at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |steven at gcc dot gnu.org
Resolution| |FIXED
--- Comment #7 from Steven Bosscher <steven at gcc dot gnu.org> 2012-05-20 21:47:37 UTC ---
Made some new timings with a bunch of compilers, and looking at IRA timings:
############ gcc-3.4.6 (stock FSF)
100 0.12 0.03 (25%) 1604
200 0.23 0.06 (26%) 3154
400 0.15 0.04 (29%) 6254
800 0.28 0.08 (29%) 12454
1600 0.62 0.17 (27%) 24854
3200 1.17 0.35 (30%) 49654
############ gcc-4.2.4 (stock FSF)
100 0.04 0.02 (50%) 1759
200 0.09 0.03 (33%) 3459
400 0.14 0.05 (36%) 6859
800 0.30 0.11 (38%) 13659
1600 0.64 0.23 (36%) 27259
3200 1.16 0.45 (39%) 54459
############ gcc-4.3.3 (stock FSF)
100 0.04 0.03 (75%) 1759
200 0.13 0.07 (54%) 3459
400 0.41 0.28 (68%) 6859
800 1.24 1.04 (85%) 13659
1600 4.52 4.11 (91%) 27259
3200 16.88 16.05 (95%) 54459
############ gcc-4.4.7 (Ubuntu)
100 0.04 0.01 (25%) 1627
200 0.10 0.03 (30%) 3227
400 0.17 0.05 (31%) 6427
800 0.39 0.14 (36%) 12827
1600 0.78 0.25 (32%) 25627
3200 1.64 0.52 (32%) 51227
############ gcc-4.6.3 (Ubuntu)
100 0.04 0.01 (25%) 1624
200 0.10 0.03 (33%) 3224
400 0.18 0.06 (35%) 6424
800 0.35 0.10 (29%) 12824
1600 0.69 0.20 (29%) 25624
3200 1.47 0.41 (28%) 51224
Thus fixes for all open branches.