This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC ssa and alias info
2008/2/12 Dasarath Weeratunge <dasarath@gmail.com
<mailto:dasarath@gmail.com>>:
> Is it possible to dump the ssa representation and alias information
> generated by the compiler to a file?
Yes. If you are using 4.3+, alias analysis is a TODO item, so it's run
if a pass requests it. If you use -fdump-tree-salias-vops, you'll get
the very first dump of alias analysis (after the creation of structure
vars). Otherwise, just use -fdump-tree-all-vops. You can grep which
passes requested alias analysis by grepping for 'points-to' in the dumps.
If you are using pre 4.3, then -fdump-tree-alias-vops will work.
Diego.