public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "arend dot bayer at web dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/17520] New: [regression] Huge compile time for C code Date: Thu, 16 Sep 2004 14:27:00 -0000 [thread overview] Message-ID: <20040916142728.17520.arend.bayer@web.de> (raw) Compiling the attached file with GCC 4.0.0 as of 04-09-15 takes over 70 seconds, compared to 0.6 seconds with 3.4.2. It also needs over 250MB of RAM. Appended is the output of gcc -v -ftime-report -O2 -c slow.c -save-temps. Reading specs from /usr/local/gcc-3.5/lib/gcc/i686-pc-linux-gnu/4.0.0/specs Configured with: ../gcc/configure --disable-checking --enable-languages=c --prefix=/usr/local/gcc-3.5 Thread model: posix gcc version 4.0.0 20040915 (experimental) /usr/local/gcc-3.5/libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1 -E -quiet -v slow.c -mtune=pentiumpro -ftime-report -O2 -fpch-preprocess -o slow.i ignoring nonexistent directory "/usr/local/gcc-3.5/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /usr/local/gcc-3.5/include /usr/local/gcc-3.5/lib/gcc/i686-pc-linux-gnu/4.0.0/include /usr/include End of search list. Execution times (seconds) TOTAL : 0.00 0.00 0.01 /usr/local/gcc-3.5/libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1 -fpreprocessed slow.i -quiet -dumpbase slow.c -mtune=pentiumpro -auxbase slow -O2 -version -ftime-report -o slow.s GNU C version 4.0.0 20040915 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 4.0.0 20040915 (experimental). GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64421 Execution times (seconds) garbage collection : 0.03 ( 0%) usr 0.00 ( 0%) sys 0.24 ( 0%) wall life analysis : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall tree gimplify : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall tree CFG construction : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall dominator optimization: 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall tree PRE : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall tree DSE : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall tree iv optimization : 42.78 (58%) usr 0.28 (42%) sys 47.96 (58%) wall expand : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall loop analysis : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall CPROP 1 : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall CPROP 2 : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall CSE 2 : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall branch prediction : 30.59 (42%) usr 0.39 (58%) sys 33.79 (41%) wall local alloc : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall peephole 2 : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.00 ( 0%) wall rename registers : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall TOTAL : 73.50 0.67 82.10 as -V -Qy -o slow.o slow.s GNU assembler version 2.15.90.0.1.1 (i586-suse-linux) using BFD version 2.15.90.0.1.1 20040303 (SuSE Linux) -- Summary: [regression] Huge compile time for C code Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: arend dot bayer at web dot de CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17520
next reply other threads:[~2004-09-16 14:27 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-09-16 14:27 arend dot bayer at web dot de [this message] 2004-09-16 14:29 ` [Bug middle-end/17520] " arend dot bayer at web dot de 2004-09-16 14:36 ` arend dot bayer at web dot de 2004-09-16 18:04 ` giovannibajo at libero dot it 2004-09-16 18:16 ` dberlin at gcc dot gnu dot org 2004-09-18 14:25 ` [Bug middle-end/17520] [4.0 regression] " pinskia at gcc dot gnu dot org 2004-09-27 19:25 ` sebastian dot pop at cri dot ensmp dot fr 2004-09-27 20:55 ` pinskia at gcc dot gnu dot org 2004-10-09 7:50 ` olh at suse dot de 2004-10-11 18:10 ` pinskia at gcc dot gnu dot org 2004-11-10 10:13 ` steven at gcc dot gnu dot org 2004-11-11 19:37 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040916142728.17520.arend.bayer@web.de \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).