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 tree-optimization/32821] tree-if-conv:combine_blocks with -ftree-dump-tree-all-details fails on ICE in compilation: segfault



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


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