Don't mark statements modified when we are in ipa mode

From-SVN: r137189
This commit is contained in:
Daniel Berlin 2008-06-27 16:11:35 +00:00 committed by Daniel Berlin
parent edae5fe3f2
commit d1caaa7618
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-06-27 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-structalias.c (find_func_aliases): Trivial fix to get
ipa-pta working again.
2008-06-27 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/t-aix52: Append large data option to LDFLAGS for

View File

@ -3897,7 +3897,8 @@ find_func_aliases (tree origt)
need to re-scan most statements. FIXME: Try to minimize the
number of statements re-scanned. It's not really necessary to
re-scan *all* statements. */
mark_stmt_modified (origt);
if (!in_ipa_mode)
mark_stmt_modified (origt);
VEC_free (ce_s, heap, rhsc);
VEC_free (ce_s, heap, lhsc);
}