This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/23414] const function is not dectected for functions with non infinite loops


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-16 01:25 -------
(In reply to comment #4)
> The most ovbvious way to fix this would do the ipa optimizations on the ssa level where we can get 
> the loop information and check to see if the loops are finite.

I should mention that will not happen until at least 4.2.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|pure function is not        |const function is not
                   |dectected for functions with|dectected for functions with
                   |non infinite loops          |non infinite loops


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23414


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