This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32821] tree-if-conv:combine_blocks with -ftree-dump-tree-all-details fails on ICE in compilation: segfault
- From: "tehila at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2007 14:15:42 -0000
- Subject: [Bug tree-optimization/32821] tree-if-conv:combine_blocks with -ftree-dump-tree-all-details fails on ICE in compilation: segfault
- References: <bug-32821-13884@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from tehila at il dot ibm dot com 2007-07-19 14:15 -------
> No, it ICEs when empty BB is to be pretty-printed. A tree pretty-printer should
> be fixed/updated for this situation, this is all this PR is about.
Thanks for the quick response.
You're right, since the if-conversion cleans the BB before deleting it
( "Remove labels and make stmts member of loop->header.").
Any way, does anyone see this problem in other passes, besides tree-if-conv?
Might be it's the only pass to expose this problem?
And also, why do we need to (pretty-)print empty BB?
I guess we can solve this problem either by changing this dump in pretty-print
(or in the tree-cfg dumps) or have another similar function of remove_bb (like
remove_empty_bb).
--
tehila at il dot ibm dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tehila at il dot ibm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32821