zouq wrote: > i wonder whether there exists or not alias analysis for scalar variable, > array variable, even pointers. > thank you.
Yes. See alias.c for alias analysis on RTL. See also tree-ssa-alias.c for alias analysis on trees. The latter is much more sophisticated. The latter hasn't been in a release yet. You need to look at either gcc-4.0 prerelease, or the mainline development sources. -- Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com