Trashbucket<Trashbucket@xxxxxx> writes:
I am trying to dump the debug info of gcc/tree-ssa-pre.c but did not
succeed. (using gcc 4.4.3)
I tried -ftree-pre with -fdump-tree-all or -fdump-tree-pre[-all] and
many more and searched for strings that should have been in one of the
generated files.
It should work to use -fdump-tree-pre-details -O2. You need the -O2 to
ensure that the optimization is enabled--merely adding the -fdump option
won't enable the option, and neither will merely adding -ftree-pre.
Ian
Thank you, now it works.
I thought -ftree-pre would enable the optimization. Also I used -o
instead of -O (no comment on that).