public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/21732] New: -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2
@ 2005-05-24  7:47 Ralf_Recker at gmx dot de
  2005-05-24  9:37 ` [Bug tree-optimization/21732] " giovannibajo at libero dot it
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ralf_Recker at gmx dot de @ 2005-05-24  7:47 UTC (permalink / raw)
  To: gcc-bugs

When dumping the trees during compilation GCC-4.1-2005010[1,8] went into
an endless loop during the *.c.t22.copyprop or the *.c.t37.copyprop2 dump, thus
generating larger and larger files. After the file reaches 2GB in size gcc stops.

The same happens with gcc-4.1-20050515 in the steps *.c.t24.copyprop or
*.c.t38.copyprop2.

The dumper seems to follow and print a copy propagation chain like this in all
the cases: A->B->A->B->A->B->...

I've observed this behaviour with many source files.

-- 
           Summary: -ftree-dump-all-details hangs during *.c.t24.copyprop or
                    *.c.t38.copyprop2
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Ralf_Recker at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug tree-optimization/21732] -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2
  2005-05-24  7:47 [Bug tree-optimization/21732] New: -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2 Ralf_Recker at gmx dot de
@ 2005-05-24  9:37 ` giovannibajo at libero dot it
  2005-05-27 20:13 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: giovannibajo at libero dot it @ 2005-05-24  9:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2005-05-24 09:27 -------
Can you provide one preprocessed source of those many?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug tree-optimization/21732] -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2
  2005-05-24  7:47 [Bug tree-optimization/21732] New: -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2 Ralf_Recker at gmx dot de
  2005-05-24  9:37 ` [Bug tree-optimization/21732] " giovannibajo at libero dot it
@ 2005-05-27 20:13 ` pinskia at gcc dot gnu dot org
  2005-05-27 20:58 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-27 20:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-27 20:07 -------
Hmm, it might not be a hang but just outputting too much.

-- 


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


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

* [Bug tree-optimization/21732] -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2
  2005-05-24  7:47 [Bug tree-optimization/21732] New: -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2 Ralf_Recker at gmx dot de
  2005-05-24  9:37 ` [Bug tree-optimization/21732] " giovannibajo at libero dot it
  2005-05-27 20:13 ` pinskia at gcc dot gnu dot org
@ 2005-05-27 20:58 ` pinskia at gcc dot gnu dot org
  2005-05-27 22:05 ` pinskia 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 @ 2005-05-27 20:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-27 20:26 -------
tree-ssa-operands.c have this problem:
..
iter_6 -> iter_100 -> iter_6 -> iter_100 -> iter_6 -> iter_100 -> iter_6 -> iter_100 ...

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


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


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

* [Bug tree-optimization/21732] -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2
  2005-05-24  7:47 [Bug tree-optimization/21732] New: -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2 Ralf_Recker at gmx dot de
                   ` (2 preceding siblings ...)
  2005-05-27 20:58 ` pinskia at gcc dot gnu dot org
@ 2005-05-27 22:05 ` pinskia at gcc dot gnu dot org
  2005-05-31  8:40 ` Ralf_Recker at gmx dot de
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-27 22:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-27 21:10 -------
Mine, I figured out a way to fix this without any troubles:
http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02652.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |05/msg02652.html
             Status|WAITING                     |ASSIGNED
           Keywords|                            |patch


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


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

* [Bug tree-optimization/21732] -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2
  2005-05-24  7:47 [Bug tree-optimization/21732] New: -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2 Ralf_Recker at gmx dot de
                   ` (3 preceding siblings ...)
  2005-05-27 22:05 ` pinskia at gcc dot gnu dot org
@ 2005-05-31  8:40 ` Ralf_Recker at gmx dot de
  2005-05-31 16:30 ` cvs-commit at gcc dot gnu dot org
  2005-05-31 16:32 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: Ralf_Recker at gmx dot de @ 2005-05-31  8:40 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]


------- Additional Comments From Ralf_Recker at gmx dot de  2005-05-31 07:50 -------
Subject: Re:  -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2

> --- Ursprüngliche Nachricht ---
> Von: "giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org>
> An: Ralf_Recker@gmx.de
> Betreff: [Bug tree-optimization/21732] -ftree-dump-all-details hangs
> during *.c.t24.copyprop or *.c.t38.copyprop2
> Datum: 24 May 2005 09:27:06 -0000
> 
> 
> ------- Additional Comments From giovannibajo at libero dot it  2005-05-24
> 09:27 -------
> Can you provide one preprocessed source of those many?
> 
> -- 
>            What    |Removed                     |Added
>
----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |WAITING
> 
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21732
> 
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.

Sorry, I was absent a few days and forgot to tell it. I see that the
problem is already solved! Thank you very much for your help. I'm am
still in the phase of diving deep in this huge mountain (Everest?) of
source code and on my old PC it takes a long time to recompile the C/C++
compiler to check, if a code change by myself works or breaks another
thing.

    Ralf Recker <Ralf_Recker@gmx.de>



-- 


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


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

* [Bug tree-optimization/21732] -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2
  2005-05-24  7:47 [Bug tree-optimization/21732] New: -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2 Ralf_Recker at gmx dot de
                   ` (4 preceding siblings ...)
  2005-05-31  8:40 ` Ralf_Recker at gmx dot de
@ 2005-05-31 16:30 ` cvs-commit at gcc dot gnu dot org
  2005-05-31 16:32 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-31 16:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-31 16:29 -------
Subject: Bug 21732

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2005-05-31 16:29:17

Modified files:
	gcc            : ChangeLog tree-ssa-copy.c 

Log message:
	2005-05-31  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR tree-opt/21732
	* tree-ssa-copy.c (dump_copy_of): Create a bitmap and don't visit a
	SSA_NAME twice and cause the loop to become finite.  Remove the test
	for val.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8955&r2=2.8956
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-copy.c.diff?cvsroot=gcc&r1=2.30&r2=2.31



-- 


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


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

* [Bug tree-optimization/21732] -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2
  2005-05-24  7:47 [Bug tree-optimization/21732] New: -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2 Ralf_Recker at gmx dot de
                   ` (5 preceding siblings ...)
  2005-05-31 16:30 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-31 16:32 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-31 16:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-31 16:29 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2005-05-31 16:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-24  7:47 [Bug tree-optimization/21732] New: -ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2 Ralf_Recker at gmx dot de
2005-05-24  9:37 ` [Bug tree-optimization/21732] " giovannibajo at libero dot it
2005-05-27 20:13 ` pinskia at gcc dot gnu dot org
2005-05-27 20:58 ` pinskia at gcc dot gnu dot org
2005-05-27 22:05 ` pinskia at gcc dot gnu dot org
2005-05-31  8:40 ` Ralf_Recker at gmx dot de
2005-05-31 16:30 ` cvs-commit at gcc dot gnu dot org
2005-05-31 16:32 ` pinskia 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).