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]
Other format: [Raw text]

Re: [tree-ssa] Do alias analysis after SSA. Improvements to PR8361.



Besides, any good context sensitive pointer analysis

Of which we have none ATM (though i'm working on this too).


 should be able to
build the call graph on the fly, refining it with the information it is
gathering.  e.g.:
http://llvm.cs.uiuc.edu/pubs/2003-04-29-DataStructureAnalysisTR.html


Note that the biggest limiting factor is going to be lack of whole-program
information.

Right, which isn't going to be solved any time real soon (by solved i mean "not use incredibly amounts of memory or have incredibly silly restrictions you don't find in other compilers")
  Without that, you have to treat _direct_ calls just as
pessimistically as indirect calls...

Well, in gcc i guess this depends on the attributes and whatnot (static function calls shouldn't be pessimized, for example).


 but the program-at-a-time stuff in
GCC will probably help with this problem.



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