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/39689] IPA should compute if a function may recurse



------- Comment #6 from hubicka at ucw dot cz  2009-04-08 17:15 -------
Subject: Re:  IPA should compute if a function may recurse

>   /* Check if base is a global static variable that is not written
>      by the function.  */

Does it also make use of fact that var is not read?
This is another analysis that is easilly doable top-down in early
optimization queue if you find this info improving code a lot.

I guess this is mostly Fortran thingy, since on C/C++ static vars are
not that frequented speciments anymore? (ignoring the GCC codebase of
course)

Honza


-- 


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


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