http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14179

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5763|0                           |1
        is obsolete|                            |

--- Comment #61 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-13 
21:39:10 UTC ---
Created attachment 26317
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26317
Testcase with just the character array

I couldn't compile the original testcase with 2.95, so I've stripped out the
important part, which is just a massive char array.

For reference, compiling this on my Core i7 laptop (time and VM usage):

2.95   6s  717M
3.0   16s 1764M
3.2   17s 1813M
3.3   20s 2028M
3.4   15s 1803M
4.0   18s 1900M
4.1    9s 1635M
4.2   10s 1636M
4.3    9s 1158M
4.4   xxx 1161M (no time; non-optimized build)
4.5   11s 1097M
4.6   xxx 1258M (ditto)
4.7   14s 1704M (r183161, optimized, --enable-checking=release)

So there was certainly a big jump from 2.95 to 3.0.  4.3 improved memory use
quite a bit, but now it's gone up again.

Reply via email to