public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16091] New: -fdump-tree-original broken by callgraph
@ 2004-06-20 9:44 ebotcazou at gcc dot gnu dot org
2004-06-20 16:40 ` [Bug c++/16091] [3.4 only] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-06-20 9:44 UTC (permalink / raw)
To: gcc-bugs
-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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16091] [3.4 only] -fdump-tree-original broken by callgraph
2004-06-20 9:44 [Bug c++/16091] New: -fdump-tree-original broken by callgraph ebotcazou at gcc dot gnu dot org
@ 2004-06-20 16:40 ` pinskia at gcc dot gnu dot org
2004-07-09 8:43 ` [Bug c++/16091] [3.4 regression] " ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-20 16:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-20 16:40 -------
This happens differently on the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|-fdump-tree-original broken |[3.4 only] -fdump-tree-
|by callgraph |original broken by callgraph
Target Milestone|--- |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16091
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16091] [3.4 regression] -fdump-tree-original broken by callgraph
2004-06-20 9:44 [Bug c++/16091] New: -fdump-tree-original broken by callgraph ebotcazou at gcc dot gnu dot org
2004-06-20 16:40 ` [Bug c++/16091] [3.4 only] " pinskia at gcc dot gnu dot org
@ 2004-07-09 8:43 ` ebotcazou at gcc dot gnu dot org
2004-08-15 4:00 ` pinskia at gcc dot gnu dot org
2004-08-17 6:28 ` mmitchel at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-07-09 8:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-07-09 08:43 -------
Not sure this will ever be fixed, but it's nonetheless a regression.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.4 only] -fdump-tree- |[3.4 regression] -fdump-
|original broken by callgraph|tree-original broken by
| |callgraph
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16091
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16091] [3.4 regression] -fdump-tree-original broken by callgraph
2004-06-20 9:44 [Bug c++/16091] New: -fdump-tree-original broken by callgraph ebotcazou at gcc dot gnu dot org
2004-06-20 16:40 ` [Bug c++/16091] [3.4 only] " pinskia at gcc dot gnu dot org
2004-07-09 8:43 ` [Bug c++/16091] [3.4 regression] " ebotcazou at gcc dot gnu dot org
@ 2004-08-15 4:00 ` pinskia at gcc dot gnu dot org
2004-08-17 6:28 ` mmitchel at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-15 4:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-15 04:00 -------
Confirmed, an easy example code:
static inline int f()
{
return 0;
}
int main()
{
return f();
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-08-15 04:00:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16091
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/16091] [3.4 regression] -fdump-tree-original broken by callgraph
2004-06-20 9:44 [Bug c++/16091] New: -fdump-tree-original broken by callgraph ebotcazou at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-08-15 4:00 ` pinskia at gcc dot gnu dot org
@ 2004-08-17 6:28 ` mmitchel at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-17 6:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-08-17 06:28 -------
We'll not try to fix this in GCC 3.4.x; it's not necessary for users.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
Target Milestone|3.4.2 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16091
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-08-17 6:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-20 9:44 [Bug c++/16091] New: -fdump-tree-original broken by callgraph ebotcazou at gcc dot gnu dot org
2004-06-20 16:40 ` [Bug c++/16091] [3.4 only] " pinskia at gcc dot gnu dot org
2004-07-09 8:43 ` [Bug c++/16091] [3.4 regression] " ebotcazou at gcc dot gnu dot org
2004-08-15 4:00 ` pinskia at gcc dot gnu dot org
2004-08-17 6:28 ` mmitchel 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).