public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/25879]  New: [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless
@ 2006-01-20 15:24 pinskia at gcc dot gnu dot org
  2006-01-20 15:34 ` [Bug tree-optimization/25879] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-20 15:24 UTC (permalink / raw)
  To: gcc-bugs

A simple example like:
ypedef int nl_item;

extern char *nl_langinfo (nl_item __item) __attribute__ ((__nothrow__));

char *
xtermEnvEncoding(void)
{
  static char *result;

  if (result == 0) {

    result = nl_langinfo(1);
    ;
  }
  return result;
}

---
and compile with -O2 -fdump-tree-pre-all makes the dump look like:
xtermEnvEncoding ()
{
  static charD.1 long intD.2 unsigned intD.3 long unsigned intD.4 long long
intD.5 long long unsigned intD.6 short intD.7 short unsigned intD.8 signed
charD.9 unsigned charD.10 D.11 D.12 D.13 D.14 D.15 D.16 D.17 D.18 D.19 D.20
floatD.21 doubleD.22 long doubleD.23 _Decimal32D.24 _Decimal64D.25
_Decimal128D.26 complex intD.27 complex floatD.28 complex doubleD.29 complex
long doubleD.30 voidD.31 __builtin_va_listD.32 ......

Cut off for Bugzilla.


That junk makes -fdump-tree-all-all useless now.


-- 
           Summary: [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all
                    useless
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


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

* [Bug tree-optimization/25879] [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless
  2006-01-20 15:24 [Bug tree-optimization/25879] New: [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless pinskia at gcc dot gnu dot org
  2006-01-20 15:34 ` [Bug tree-optimization/25879] " pinskia at gcc dot gnu dot org
@ 2006-01-20 15:34 ` pinskia at gcc dot gnu dot org
  2006-02-18  5:03 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-20 15:34 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dnovillo at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.2.0


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


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

* [Bug tree-optimization/25879] [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless
  2006-01-20 15:24 [Bug tree-optimization/25879] New: [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless pinskia at gcc dot gnu dot org
@ 2006-01-20 15:34 ` pinskia at gcc dot gnu dot org
  2006-01-20 15:34 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-20 15:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-20 15:34 -------
Created an attachment (id=10689)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10689&action=view)
patch which removes TDF_CHAIN and changes debug_tree_chain to debug_decl_chain

This patch removes TDF_CHAIN and it also changes debug_tree_chain to
debug_decl_chain for the correct meaning of the function.


-- 


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


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

* [Bug tree-optimization/25879] [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless
  2006-01-20 15:24 [Bug tree-optimization/25879] New: [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless pinskia at gcc dot gnu dot org
  2006-01-20 15:34 ` [Bug tree-optimization/25879] " pinskia at gcc dot gnu dot org
  2006-01-20 15:34 ` pinskia at gcc dot gnu dot org
@ 2006-02-18  5:03 ` pinskia at gcc dot gnu dot org
  2006-02-20 17:47 ` pinskia at gcc dot gnu dot org
  2006-02-20 17:47 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-18  5:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-02-18 05:03 -------
Mine.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-18 05:03:29
               date|                            |


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


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

* [Bug tree-optimization/25879] [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless
  2006-01-20 15:24 [Bug tree-optimization/25879] New: [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-02-18  5:03 ` pinskia at gcc dot gnu dot org
@ 2006-02-20 17:47 ` pinskia at gcc dot gnu dot org
  2006-02-20 17:47 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-20 17:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-02-20 17:47 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug tree-optimization/25879] [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless
  2006-01-20 15:24 [Bug tree-optimization/25879] New: [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-02-20 17:47 ` pinskia at gcc dot gnu dot org
@ 2006-02-20 17:47 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-20 17:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-02-20 17:47 -------
Subject: Bug 25879

Author: pinskia
Date: Mon Feb 20 17:47:34 2006
New Revision: 111308

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111308
Log:
2006-02-20  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/25879
        * tree-pretty-print.c (debug_tree_chain): Walk the chains.
        (dump_decl_name): Do not walk the decl tree chains.
        * tree-pass.h (TDF_CHAIN): Remove.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-pass.h
    trunk/gcc/tree-pretty-print.c


-- 


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


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

end of thread, other threads:[~2006-02-20 17:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-20 15:24 [Bug tree-optimization/25879] New: [4.2 Regression] TDF_CHAIN makes -fdump-tree-all-all useless pinskia at gcc dot gnu dot org
2006-01-20 15:34 ` [Bug tree-optimization/25879] " pinskia at gcc dot gnu dot org
2006-01-20 15:34 ` pinskia at gcc dot gnu dot org
2006-02-18  5:03 ` pinskia at gcc dot gnu dot org
2006-02-20 17:47 ` pinskia at gcc dot gnu dot org
2006-02-20 17:47 ` 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).