public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/56510] New: adding -g compiles 'forever' vs 49s
@ 2013-03-02 23:57 sam-gccbug at rushing dot nightmare.com
  2013-03-03  0:11 ` [Bug debug/56510] " pinskia at gcc dot gnu.org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: sam-gccbug at rushing dot nightmare.com @ 2013-03-02 23:57 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56510
           Summary: adding -g compiles 'forever' vs 49s
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: sam-gccbug@rushing.nightmare.com


Created attachment 29568
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29568
repro

The file is output from another compiler, in CPS form (i.e., all funs are tail
calls).
If I leave off '-g' it takes 49 seconds to compile (2.4GHz core i7)
If I add '-g' it takes 'forever' (> 90 mins).
Reproduced on OS X (10.8.2) x86_64, Linux Ubuntu (w/gcc4.6.3), FreeBSD 7.3.
I believe this bug affects gcc going back to 4.6 and earlier.  I have a copy of
4.2 sitting around that does not seem to have the problem, though.

gcc was configured: "./configure --enable-languages=c,c++"
built with "make -j 16"

command: /usr/local/bin/gcc -std=c99 -O3 -g -I./include self/compile.c -o
self/compile


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2013-04-03  8:27 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-02 23:57 [Bug debug/56510] New: adding -g compiles 'forever' vs 49s sam-gccbug at rushing dot nightmare.com
2013-03-03  0:11 ` [Bug debug/56510] " pinskia at gcc dot gnu.org
2013-03-03  0:49 ` sam-gccbug at rushing dot nightmare.com
2013-03-03  0:57 ` steven at gcc dot gnu.org
2013-03-03  1:06 ` steven at gcc dot gnu.org
2013-03-03  1:19 ` sam-gccbug at rushing dot nightmare.com
2013-03-03 11:49 ` [Bug debug/56510] [4.8 Regression] More var-tracking scalability problems steven at gcc dot gnu.org
2013-03-03 12:08 ` jakub at gcc dot gnu.org
2013-03-03 12:16 ` [Bug debug/56510] [4.7/4.8 " steven at gcc dot gnu.org
2013-03-03 12:40 ` jakub at gcc dot gnu.org
2013-03-03 12:50 ` steven at gcc dot gnu.org
2013-03-04  9:23 ` jakub at gcc dot gnu.org
2013-03-04 10:53 ` rguenth at gcc dot gnu.org
2013-03-04 10:56 ` jakub at gcc dot gnu.org
2013-03-05 13:51 ` jakub at gcc dot gnu.org
2013-03-05 22:32 ` jakub at gcc dot gnu.org
2013-03-05 22:36 ` [Bug debug/56510] [4.7 " jakub at gcc dot gnu.org
2013-03-22 14:43 ` jakub at gcc dot gnu.org
2013-04-03  8:25 ` jakub at gcc dot gnu.org
2013-04-03  8:27 ` jakub at gcc dot gnu.org

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).