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

Reply via email to