public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/4794] gcc hangs on small, simple code fragment
       [not found] <20011105124600.4794.fritz@intrinsity.com>
@ 2003-05-24 16:17 ` pinskia@physics.uc.edu
  2003-06-15  4:09 ` pinskia@physics.uc.edu
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-24 16:17 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-04-10 00:00:00         |2003-05-24 15:10:19
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-05-24 15:10 -------
reconfirm on mainline (20030524).



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug c++/4794] gcc hangs on small, simple code fragment
       [not found] <20011105124600.4794.fritz@intrinsity.com>
  2003-05-24 16:17 ` [Bug c++/4794] gcc hangs on small, simple code fragment pinskia@physics.uc.edu
@ 2003-06-15  4:09 ` pinskia@physics.uc.edu
  2003-08-01 20:42 ` pinskia at physics dot uc dot edu
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-15  4:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia@physics.uc.edu  2003-06-15 04:09 -------
Looks like this could be fixed by using walk_tree_without_duplicates.


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

* [Bug c++/4794] gcc hangs on small, simple code fragment
       [not found] <20011105124600.4794.fritz@intrinsity.com>
  2003-05-24 16:17 ` [Bug c++/4794] gcc hangs on small, simple code fragment pinskia@physics.uc.edu
  2003-06-15  4:09 ` pinskia@physics.uc.edu
@ 2003-08-01 20:42 ` pinskia at physics dot uc dot edu
  2003-11-11  4:46 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-01 20:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-01 20:42 -------
this will ICE if you left it go


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

* [Bug c++/4794] gcc hangs on small, simple code fragment
       [not found] <20011105124600.4794.fritz@intrinsity.com>
                   ` (2 preceding siblings ...)
  2003-08-01 20:42 ` pinskia at physics dot uc dot edu
@ 2003-11-11  4:46 ` pinskia at gcc dot gnu dot org
  2003-12-01 22:25 ` zack at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-11  4:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-11 04:46 -------
I have not tested it yet but the patch is here: <http://gcc.gnu.org/ml/gcc-patches/2003-11/
msg00707.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
   Target Milestone|---                         |3.4


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


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

* [Bug c++/4794] gcc hangs on small, simple code fragment
       [not found] <20011105124600.4794.fritz@intrinsity.com>
                   ` (3 preceding siblings ...)
  2003-11-11  4:46 ` pinskia at gcc dot gnu dot org
@ 2003-12-01 22:25 ` zack at gcc dot gnu dot org
  2003-12-01 22:53 ` steven at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: zack at gcc dot gnu dot org @ 2003-12-01 22:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From zack at gcc dot gnu dot org  2003-12-01 22:25 -------
That patch isn't right, see the follow-up message from Jim Wilson:
http://gcc.gnu.org/ml/gcc-patches/2003-11/msg00925.html

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


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


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

* [Bug c++/4794] gcc hangs on small, simple code fragment
       [not found] <20011105124600.4794.fritz@intrinsity.com>
                   ` (4 preceding siblings ...)
  2003-12-01 22:25 ` zack at gcc dot gnu dot org
@ 2003-12-01 22:53 ` steven at gcc dot gnu dot org
  2003-12-22  0:00 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-12-01 22:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2003-12-01 22:53 -------
I'm not sure yet, but the bt is never really that long, and when I put a 
conditional breakpoint on has_cleanups with some tree pointer, I get a lot of 
breaks there.  Smells like a (series of) circular trees. 
 
I have fixed this kind of bug before in the tree inliner by using 
walk_tree_without_duplicates.  That may not be a possible solution in this 
case because walk_tree is in tree-inline.c and has_cleanups is in tree.c (yes, 
Of course walk_tree should go there too, and it is already done for tree-ssa).   
 
A possible fix for 3.4 is to mimic w_t_wo_d() here and use a hash table to 
mark trees that have already been visited.  Or perhaps has_cleanups can be 
moved to tree-inline and rewritten to work as a walk_tree callback function. 
 

-- 


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


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

* [Bug c++/4794] gcc hangs on small, simple code fragment
       [not found] <20011105124600.4794.fritz@intrinsity.com>
                   ` (5 preceding siblings ...)
  2003-12-01 22:53 ` steven at gcc dot gnu dot org
@ 2003-12-22  0:00 ` pinskia at gcc dot gnu dot org
  2004-04-26  5:08 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-22  0:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-21 23:41 -------
Not a regression so removing milestone.

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


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


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

* [Bug c++/4794] gcc hangs on small, simple code fragment
       [not found] <20011105124600.4794.fritz@intrinsity.com>
                   ` (6 preceding siblings ...)
  2003-12-22  0:00 ` pinskia at gcc dot gnu dot org
@ 2004-04-26  5:08 ` pinskia at gcc dot gnu dot org
  2004-04-26 12:02 ` giovannibajo at libero dot it
  2004-04-26 13:08 ` cvs-commit at gcc dot gnu dot org
  9 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-26  5:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-26 04:17 -------
Fixed in 3.5.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.5.0


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


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

* [Bug c++/4794] gcc hangs on small, simple code fragment
       [not found] <20011105124600.4794.fritz@intrinsity.com>
                   ` (7 preceding siblings ...)
  2004-04-26  5:08 ` pinskia at gcc dot gnu dot org
@ 2004-04-26 12:02 ` giovannibajo at libero dot it
  2004-04-26 13:08 ` cvs-commit at gcc dot gnu dot org
  9 siblings, 0 replies; 10+ messages in thread
From: giovannibajo at libero dot it @ 2004-04-26 12:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-04-26 11:30 -------
Can we have this in the testsuite?

-- 


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


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

* [Bug c++/4794] gcc hangs on small, simple code fragment
       [not found] <20011105124600.4794.fritz@intrinsity.com>
                   ` (8 preceding siblings ...)
  2004-04-26 12:02 ` giovannibajo at libero dot it
@ 2004-04-26 13:08 ` cvs-commit at gcc dot gnu dot org
  9 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-04-26 13:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-04-26 12:54 -------
Subject: Bug 4794

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2004-04-26 12:54:55

Modified files:
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/eh: cleanup3.C 
	gcc/testsuite/g++.dg/other: vararg-1.C 

Log message:
	2004-04-26  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR c++/15119
	* g++.dg/other/vararg-1.C: New test.
	
	PR c++/4794
	* g++.dg/eh/cleanup3.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3702&r2=1.3703
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/eh/cleanup3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/other/vararg-1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

end of thread, other threads:[~2004-04-26 12:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20011105124600.4794.fritz@intrinsity.com>
2003-05-24 16:17 ` [Bug c++/4794] gcc hangs on small, simple code fragment pinskia@physics.uc.edu
2003-06-15  4:09 ` pinskia@physics.uc.edu
2003-08-01 20:42 ` pinskia at physics dot uc dot edu
2003-11-11  4:46 ` pinskia at gcc dot gnu dot org
2003-12-01 22:25 ` zack at gcc dot gnu dot org
2003-12-01 22:53 ` steven at gcc dot gnu dot org
2003-12-22  0:00 ` pinskia at gcc dot gnu dot org
2004-04-26  5:08 ` pinskia at gcc dot gnu dot org
2004-04-26 12:02 ` giovannibajo at libero dot it
2004-04-26 13:08 ` cvs-commit 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).