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]

Re: Loop optimization


> Jeffrey A Law writes:
> 
>  > Further down the road, the loop optimizer should be moving towards natural
>  > loop analysis to determine what loops to optimize instead of relying on hints
>  > provided by the front-ends.

If you mean detecting loops that have been built with gotos, that
defeats code that on putpose avoids explicit loop constructs because
it 'knows' that the loop is executed close to a single time (or even
close to zero times) on average.


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