This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16091] New: -fdump-tree-original broken by callgraph
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2004 09:44:12 -0000
- Subject: [Bug c++/16091] New: -fdump-tree-original broken by callgraph
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
-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