------- 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