public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mikpe at it dot uu dot se" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/45364] Compiling wine's directx.c with -O1 -g takes a very long time Date: Sat, 21 Aug 2010 15:45:00 -0000 [thread overview] Message-ID: <20100821154447.12231.qmail@sourceware.org> (raw) In-Reply-To: <bug-45364-5606@http.gcc.gnu.org/bugzilla/> ------- Comment #5 from mikpe at it dot uu dot se 2010-08-21 15:44 ------- (In reply to comment #4) > Well something in -g processing is a CPU hog. On my Turion X2 Ultra ZM-82 > laptop (2.2GHz x 2 cores) with 32-bit kernel and vanilla gcc-4.5.1 > (--enable-checking=release) I get: Same machine, but running a 64-bit kernel and using a 64-bit gcc-4.5.1: > time gcc -m32 -O0 -c pr45364.i 1.390u 0.090s 0:01.49 99.3% 0+0k 0+0io 0pf+0w > time gcc -m32 -O0 -g -c pr45364.i 1.630u 0.060s 0:01.71 98.8% 0+0k 0+0io 0pf+0w > time gcc -m32 -O1 -c pr45364.i 3.690u 0.090s 0:03.80 99.4% 0+0k 0+0io 0pf+0w > time gcc -m32 -O1 -g -c pr45364.i 26.740u 0.230s 0:27.00 99.8% 0+0k 0+0io 0pf+0w > time gcc -m32 -O2 -c pr45364.i 10.960u 0.220s 0:11.52 97.0% 0+0k 0+0io 0pf+0w > time gcc -m32 -O2 -g -c pr45364.i 291.430u 0.540s 4:52.15 99.9% 0+0k 0+0io 0pf+0w In the last -O2 -g run cc1 used about 344MB of address space. So it doesn't take forever but -g is definitely a CPU hog. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45364
next prev parent reply other threads:[~2010-08-21 15:45 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-08-21 1:00 [Bug middle-end/45364] New: Apparent infinite loop while compiling wine's directx.c with -O1 -g bero at arklinux dot org 2010-08-21 1:01 ` [Bug middle-end/45364] " bero at arklinux dot org 2010-08-21 1:10 ` [Bug middle-end/45364] Compiling wine's directx.c with -O1 -g takes a very long time bero at arklinux dot org 2010-08-21 5:13 ` hjl dot tools at gmail dot com 2010-08-21 14:36 ` mikpe at it dot uu dot se 2010-08-21 15:45 ` mikpe at it dot uu dot se [this message] 2010-08-21 15:57 ` jakub at gcc dot gnu dot org [not found] <bug-45364-4@http.gcc.gnu.org/bugzilla/> 2012-02-02 17:36 ` pinskia at gcc dot gnu.org 2014-01-28 9:03 ` rguenth at gcc dot gnu.org 2014-01-28 13:14 ` rguenth at gcc dot gnu.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=20100821154447.12231.qmail@sourceware.org \ --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).