This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15678] [3.5 Regression] Compilation time increased by 10-20%
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jun 2004 07:50:32 -0000
- Subject: [Bug tree-optimization/15678] [3.5 Regression] Compilation time increased by 10-20%
- References: <20040527100445.15678.gertom@inf.u-szeged.hu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-28 07:50 -------
Interesting data point for the testcase with many empty functions -funit-at-a-time is faster for -O0 for
3.4.0 and 3.5.0 (note the timings for 3.5.0 in this case are not very good as this is with checking
enabled):
tin:~/src/gnu/gcctest>time ~/ia32_linux_gcc3_4/bin/gcc -S pr15678.c
6.870u 1.470s 0:08.86 94.1% 0+0k 0+0io 626pf+0w
tin:~/src/gnu/gcctest>time ~/ia32_linux_gcc3_4/bin/gcc -S pr15678.c -funit-at-a-time
4.950u 0.940s 0:06.42 91.7% 0+0k 0+0io 624pf+0w
tin:~/src/gnu/gcctest>time gcc -S pr15678.c
20.120u 0.770s 0:21.28 98.1% 0+0k 0+0io 741pf+0w
tin:~/src/gnu/gcctest>time gcc -S pr15678.c -funit-at-a-time
16.520u 0.650s 0:17.68 97.1% 0+0k 0+0io 742pf+0w
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15678