GCC ssa and alias info
Diego Novillo
dnovillo@google.com
Wed Feb 13 00:54:00 GMT 2008
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.
More information about the Gcc
mailing list