public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/13430] New: [3.4 regression] infinite(?) loop in bb-reorder
@ 2003-12-18  9:39 steven at gcc dot gnu dot org
  2003-12-18 10:55 ` [Bug optimization/13430] " steven at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-12-18  9:39 UTC (permalink / raw)
  To: gcc-bugs

The test case for PR12322 is not spending most of its time in GCSE.  In fact 
GCSE is _faster_ than 3.3.  The problem is that we enter a very long (and I 
suspect in fact an infinite) loop in bb-reorder. 
 
In particular, bb-reorder.c:714: 
if ((e->src != ENTRY_BLOCK_PTR && bbd[e->src->index].end_of_trace >= 0) 
 
Honza, bb-reorder is yours, can you give this a look?

-- 
           Summary: [3.4 regression] infinite(?) loop in bb-reorder
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Keywords: compile-time-hog
          Severity: critical
          Priority: P1
         Component: optimization
        AssignedTo: hubicka at gcc dot gnu dot org
        ReportedBy: steven at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
OtherBugsDependingO 12322
             nThis:


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


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

* [Bug optimization/13430] [3.4 regression] infinite(?) loop in bb-reorder
  2003-12-18  9:39 [Bug optimization/13430] New: [3.4 regression] infinite(?) loop in bb-reorder steven at gcc dot gnu dot org
@ 2003-12-18 10:55 ` steven at gcc dot gnu dot org
  2003-12-18 14:15 ` giovannibajo at libero dot it
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-12-18 10:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2003-12-18 10:01 -------
The problem is in bb-reorder after regstack: 
 
 reorder blocks        : 363.15 (91%) usr   1.08 (68%) sys 374.62 (91%) wall 
 reg stack             :   3.23 ( 1%) usr   0.01 ( 1%) sys   3.29 ( 1%) wall 
 
 

-- 


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


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

* [Bug optimization/13430] [3.4 regression] infinite(?) loop in bb-reorder
  2003-12-18  9:39 [Bug optimization/13430] New: [3.4 regression] infinite(?) loop in bb-reorder steven at gcc dot gnu dot org
  2003-12-18 10:55 ` [Bug optimization/13430] " steven at gcc dot gnu dot org
@ 2003-12-18 14:15 ` giovannibajo at libero dot it
  2003-12-18 19:52 ` [Bug optimization/13430] [3.4 regression] bb-reorder (the one done after reg stack) on takes too long pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: giovannibajo at libero dot it @ 2003-12-18 14:15 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4.0


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


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

* [Bug optimization/13430] [3.4 regression] bb-reorder (the one done after reg stack) on takes too long
  2003-12-18  9:39 [Bug optimization/13430] New: [3.4 regression] infinite(?) loop in bb-reorder steven at gcc dot gnu dot org
  2003-12-18 10:55 ` [Bug optimization/13430] " steven at gcc dot gnu dot org
  2003-12-18 14:15 ` giovannibajo at libero dot it
@ 2003-12-18 19:52 ` pinskia at gcc dot gnu dot org
  2003-12-19 13:36 ` zlomek at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-18 19:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-18 19:23 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-18 19:23:34
               date|                            |
            Summary|[3.4 regression] infinite(?)|[3.4 regression] bb-reorder
                   |loop in bb-reorder          |(the one done after reg
                   |                            |stack) on takes too long


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


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

* [Bug optimization/13430] [3.4 regression] bb-reorder (the one done after reg stack) on takes too long
  2003-12-18  9:39 [Bug optimization/13430] New: [3.4 regression] infinite(?) loop in bb-reorder steven at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-12-18 19:52 ` [Bug optimization/13430] [3.4 regression] bb-reorder (the one done after reg stack) on takes too long pinskia at gcc dot gnu dot org
@ 2003-12-19 13:36 ` zlomek at gcc dot gnu dot org
  2003-12-20 16:25 ` steven at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zlomek at gcc dot gnu dot org @ 2003-12-19 13:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2003-12-18 19:23:34         |2003-12-19 12:44:06
               date|                            |


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


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

* [Bug optimization/13430] [3.4 regression] bb-reorder (the one done after reg stack) on takes too long
  2003-12-18  9:39 [Bug optimization/13430] New: [3.4 regression] infinite(?) loop in bb-reorder steven at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2003-12-19 13:36 ` zlomek at gcc dot gnu dot org
@ 2003-12-20 16:25 ` steven at gcc dot gnu dot org
  2003-12-20 16:34 ` cvs-commit at gcc dot gnu dot org
  2003-12-20 19:30 ` zlomek at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-12-20 16:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2003-12-20 13:54 -------
Patch pending, cf. http://gcc.gnu.org/ml/gcc-patches/2003-12/msg01812.html 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug optimization/13430] [3.4 regression] bb-reorder (the one done after reg stack) on takes too long
  2003-12-18  9:39 [Bug optimization/13430] New: [3.4 regression] infinite(?) loop in bb-reorder steven at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2003-12-20 16:25 ` steven at gcc dot gnu dot org
@ 2003-12-20 16:34 ` cvs-commit at gcc dot gnu dot org
  2003-12-20 19:30 ` zlomek at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-20 16:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-12-20 16:31 -------
Subject: Bug 13430

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	zlomek@gcc.gnu.org	2003-12-20 16:31:13

Modified files:
	gcc            : ChangeLog bb-reorder.c 

Log message:
	PR optimization/13430, PR optimization/12322
	* bb-reorder.c (copy_bb_p): Do not allow block with many successors to
	be copied.
	(find_traces_1_round): Surround check for fake edges by
	#ifdef ENABLE_CHECKING #endif.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2060&r2=2.2061
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/bb-reorder.c.diff?cvsroot=gcc&r1=1.62&r2=1.63



-- 


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


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

* [Bug optimization/13430] [3.4 regression] bb-reorder (the one done after reg stack) on takes too long
  2003-12-18  9:39 [Bug optimization/13430] New: [3.4 regression] infinite(?) loop in bb-reorder steven at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2003-12-20 16:34 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-20 19:30 ` zlomek at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: zlomek at gcc dot gnu dot org @ 2003-12-20 19:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From zlomek at gcc dot gnu dot org  2003-12-20 16:32 -------
The fix was commited.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2003-12-20 16:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-18  9:39 [Bug optimization/13430] New: [3.4 regression] infinite(?) loop in bb-reorder steven at gcc dot gnu dot org
2003-12-18 10:55 ` [Bug optimization/13430] " steven at gcc dot gnu dot org
2003-12-18 14:15 ` giovannibajo at libero dot it
2003-12-18 19:52 ` [Bug optimization/13430] [3.4 regression] bb-reorder (the one done after reg stack) on takes too long pinskia at gcc dot gnu dot org
2003-12-19 13:36 ` zlomek at gcc dot gnu dot org
2003-12-20 16:25 ` steven at gcc dot gnu dot org
2003-12-20 16:34 ` cvs-commit at gcc dot gnu dot org
2003-12-20 19:30 ` zlomek 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).