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: Removing unnecessary ADDR_EXPRs



On May 17, 2005, at 5:58 PM, Andrew Pinski wrote:



On May 17, 2005, at 4:46 PM, Andrew Pinski wrote:


The next problem is that the forward propagation assumes that propagating of
ADDR_EXPR should not cause us to get rid of a way to throw which is wrong,
though I cannot prove it without honza's patch in.

Actually it was not honza's patch which causes the missed optimization right away.
CCP is not propagating of the second ADDR_EXPR after it became invariant.


New testcase without inlining enabled:

One more thing if we disable ccp and DOM, we still get an ICE as now forward propagation is doing all the work and we now know that we have to fix the ICE also in forward propagation and not just the missed optimization in ccp.

Thanks,
Andrew Pinski


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