This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16091] New: -fdump-tree-original broken by callgraph


-fdump-tree-original doesn't dump the original function trees anymore when
optimization is enabled; instead, it is an alias for -fdump-tree-inlined.

The problem is that -fdump-tree-original is handled by optimize_function, which
is called by expand_body.  But expand_body is
lang_hooks.callgraph.expand_function for the C++ front-end and is invoked by
cgraph_expand_function *after* cgraph_optimize_function, the latter doing
tree-inlining when optimization is enabled.

-- 
           Summary: -fdump-tree-original broken by callgraph
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: *-*-*
  GCC host triplet: *-*-*
GCC target triplet: *-*-*


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]