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]

Re: Patch to fix mark_constant_function


> Much better if you arrange for mark_constant_function
> to use the loop tree we just discovered.

My impression is that the existing loop code only concerns
itself with natural loops.  I'm concerned with detecting
any type of loop.

> Best is if we'd kept track of which loops have known
> bounds, but I guess that's harder to arrange at present.

Agreed and agreed.  An area for future enhancement.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------


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