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: RFA: loop optimization bug


The ("old") RTL loop optimizer believes that loops either fall through into the top, or start with a branch to the bottom, and is getting confused when handed this loop. Before I get too deep, is it the intent of the
> tree optimizers to produce only CFGs that conform to the loop optimizer's
> expectations, or should the RTL opts be handling this? Thanks.


My understanding is that the RTL code that produces loop notes should not spit them out in this case, so that the loop optimizer will not do anything on this loop.

Paolo


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