------- 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

Reply via email to