This is the mail archive of the gcc-patches@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]

Re: [Bug tree-optimization/21380] [4.0 Regression] ICE compilingwith -O


Basically we have a block which is marked as having threadable
edges.  However, due to other threading opportunities the block
in question has become unreachable.  We still attempt to thread
the (non-existent) incoming edges, leading to the segfault.

The fix is trivial.  If a block has become unreachable, there's
no sense in trying to thread through it.

Attached is the patch for the GCC 4.0 branch which has been bootstrapped
and regression tested on i686-pc-linux-gnu.  I'll be testing the same
patch for mainline overnight.


Attachment: PPP
Description: Text document


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