This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/27733] [4.1 Regression] Large compile time regression
- From: "soete dot joel at tiscali dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2006 13:56:58 -0000
- Subject: [Bug middle-end/27733] [4.1 Regression] Large compile time regression
- References: <bug-27733-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from soete dot joel at tiscali dot be 2006-06-11 13:56 -------
Yes, it does the drill:
I back port this patch against debian gcc-4.1 stock sources (gcc version 4.1.2
20060604 (prerelease) (Debian 4.1.1-2)) and got this excellent improvement of
the real case (kernel parisc linux page_alloc.c)
# time sh ../TstPageAlloc
+ hppa64-linux-gnu-gcc-4.1 -Wp,-MD,mm/.page_alloc.o.d -nostdinc -isystem
/usr/li
b/gcc/hppa64-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -Iinclude2
-I/CAD/li
nux-2.6.17-rc5-pa3/include -include include/linux/autoconf.h
-I/CAD/linux-2.6.17
-rc5-pa3/mm -Imm -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-al
iasing -fno-common -O2 -fomit-frame-pointer -pipe -mno-space-regs
-mfast-indirec
t-calls -mdisable-fpregs -ffunction-sections -march=2.0 -mschedule=8000
-Wdeclar
ation-after-statement -Wno-pointer-sign '-DKBUILD_STR(s)=#s'
'-DKBUILD_BASENAME=
KBUILD_STR(page_alloc)' '-DKBUILD_MODNAME=KBUILD_STR(page_alloc)' -c -o
mm/.tmp_
page_alloc.o /CAD/linux-2.6.17-rc5-pa3/mm/page_alloc.c
with the debian stock 64bit xcompiler:
real 92m41.950s
user 88m4.628s
sys 0m2.520s
with patch applied:
real 2m32.845s
user 2m24.835s
sys 0m0.229s
Thanks a lot,
J.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27733