Path: utzoo!attcan!uunet!bu.edu!snorkelwacker!mintaka!spdcc!esegue!compilers-sender From: jml@wally.altair.fr Newsgroups: comp.compilers Subject: UD-chains for fields Keywords: optimize Message-ID: <9010042005.AA00300@wally.altair.fr> Date: 4 Oct 90 20:05:11 GMT Sender: compilers-sender@esegue.segue.boston.ma.us Reply-To: jml@wally.altair.fr Organization: Compilers Central Lines: 26 Approved: compilers@esegue.segue.boston.ma.us Posted-Date: Thu, 4 Oct 90 21:05:11 +0100 I wonder if there has been any research done on the behavior of records in dataflow analysis. What I mean is that the algorithms for the building of ud-chains or alias analysis that I have read about consider only simple variables and arrays. But field selection introduces significant complexity. For example: s1: y = x; ... s2: y->a = v; ... s3: return (x->a.b); There seems to be no definition of x->a.b reaching s3, though s2 is such a definition, due to aliasing of x to y in s1, even if the field b does not appear explicitly in s2. I'd be really grateful if somebody could direct me to literature on this problem. [It seems to me that there's no extra complexity here beyond the problems already introduced by pointers. Record offsets are all known at compile time, and can be handled the same way as constant subscripts. Am I missing something here? -John] -- Send compilers articles to compilers@esegue.segue.boston.ma.us {ima | spdcc | world}!esegue. Meta-mail to compilers-request@esegue.