public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pending/39657]  New: [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time on x86 with -O2
@ 2009-04-06  0:48 vapier at gentoo dot org
  2009-04-06  0:50 ` [Bug pending/39657] " vapier at gentoo dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vapier at gentoo dot org @ 2009-04-06  0:48 UTC (permalink / raw)
  To: gcc-bugs

gcc 4.1, 4.2, and 4.4 all take less than 30 seconds to compile this file.  but
gcc-4.3 can easily take more like 5 minutes.

the file comes from the preprocessed output of a file in the ruby package.


-- 
           Summary: [4.3 Regression] compiling ruby (yacc) output takes
                    inordinate amount of time on x86 with -O2
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: pending
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vapier at gentoo dot org
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug pending/39657] [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time on x86 with -O2
  2009-04-06  0:48 [Bug pending/39657] New: [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time on x86 with -O2 vapier at gentoo dot org
@ 2009-04-06  0:50 ` vapier at gentoo dot org
  2009-04-06  9:39 ` [Bug tree-optimization/39657] " rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: vapier at gentoo dot org @ 2009-04-06  0:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from vapier at gentoo dot org  2009-04-06 00:50 -------
Created an attachment (id=17592)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17592&action=view)
parse_.i

$ time gcc -c -O2 parse_.i
real    5m16.777s
user    5m14.586s
sys     0m1.545s


-- 


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


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

* [Bug tree-optimization/39657] [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time on x86 with -O2
  2009-04-06  0:48 [Bug pending/39657] New: [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time on x86 with -O2 vapier at gentoo dot org
  2009-04-06  0:50 ` [Bug pending/39657] " vapier at gentoo dot org
@ 2009-04-06  9:39 ` rguenth at gcc dot gnu dot org
  2009-04-22 13:31 ` [Bug tree-optimization/39657] [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time with PRE and large SCCs rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-06  9:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2009-04-06 09:39 -------
 tree PRE              : 362.75 (97%) usr   3.30 (80%) sys 366.55 (97%) wall   
7515 kB ( 8%) ggc

So you can use -fno-tree-pre to work around this issue or limit the size
of the SCCs processed (with the same effect) with the --param
sccvn-max-scc-size


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|pending                     |tree-optimization
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-04-06 09:39:39
               date|                            |
   Target Milestone|---                         |4.3.4


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


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

* [Bug tree-optimization/39657] [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time with PRE and large SCCs
  2009-04-06  0:48 [Bug pending/39657] New: [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time on x86 with -O2 vapier at gentoo dot org
  2009-04-06  0:50 ` [Bug pending/39657] " vapier at gentoo dot org
  2009-04-06  9:39 ` [Bug tree-optimization/39657] " rguenth at gcc dot gnu dot org
@ 2009-04-22 13:31 ` rguenth at gcc dot gnu dot org
  2009-08-04 12:48 ` rguenth at gcc dot gnu dot org
  2010-04-27 11:18 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-22 13:31 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
            Summary|[4.3 Regression] compiling  |[4.3 Regression] compiling
                   |ruby (yacc) output takes    |ruby (yacc) output takes
                   |inordinate amount of time on|inordinate amount of time
                   |x86 with -O2                |with PRE and large SCCs


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


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

* [Bug tree-optimization/39657] [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time with PRE and large SCCs
  2009-04-06  0:48 [Bug pending/39657] New: [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time on x86 with -O2 vapier at gentoo dot org
                   ` (2 preceding siblings ...)
  2009-04-22 13:31 ` [Bug tree-optimization/39657] [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time with PRE and large SCCs rguenth at gcc dot gnu dot org
@ 2009-08-04 12:48 ` rguenth at gcc dot gnu dot org
  2010-04-27 11:18 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2009-08-04 12:30 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


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

* [Bug tree-optimization/39657] [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time with PRE and large SCCs
  2009-04-06  0:48 [Bug pending/39657] New: [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time on x86 with -O2 vapier at gentoo dot org
                   ` (3 preceding siblings ...)
  2009-08-04 12:48 ` rguenth at gcc dot gnu dot org
@ 2010-04-27 11:18 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-27 11:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-04-27 11:17 -------
WONTFIX on the 4.3 branch.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|4.3.2 4.3.3                 |4.3.2 4.3.3 4.3.5
         Resolution|                            |FIXED
   Target Milestone|4.3.5                       |4.4.0


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


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

end of thread, other threads:[~2010-04-27 11:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-06  0:48 [Bug pending/39657] New: [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time on x86 with -O2 vapier at gentoo dot org
2009-04-06  0:50 ` [Bug pending/39657] " vapier at gentoo dot org
2009-04-06  9:39 ` [Bug tree-optimization/39657] " rguenth at gcc dot gnu dot org
2009-04-22 13:31 ` [Bug tree-optimization/39657] [4.3 Regression] compiling ruby (yacc) output takes inordinate amount of time with PRE and large SCCs rguenth at gcc dot gnu dot org
2009-08-04 12:48 ` rguenth at gcc dot gnu dot org
2010-04-27 11:18 ` rguenth at gcc dot gnu dot 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).