This is the mail archive of the gcc@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: PR22336 (was: Problem with tree-ssa-loop-ivopts.c:get_computation-cost)


Hello,

>     I think the patch is fine (although of course I cannot approve it).  
> 
> I, as it's author, do not.  But, as I keep saying, I don't know what
> the proper fix is.

preventing record_block_change from working in this situation seems a
quite clean solution to me; of course, not expanding expressions with
TREE_BLOCK set (when determining their cost) at all would be better, but
somewhat more complicated.

>     The more proper fix would be to never expand such expressions from ivopts;
> 
> What are "such expressions"?

Expressions with TREE_BLOCK set; i.e. those coming from the compiled program.

Zdenek


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