From: Daniel Berlin Date: Fri, 27 Jun 2008 16:11:35 +0000 (+0000) Subject: Don't mark statements modified when we are in ipa mode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1caaa7618334bb5153e473828da8ec4bf4737b7;p=gcc.git Don't mark statements modified when we are in ipa mode From-SVN: r137189 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 394c9c0117b..6e762a58284 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-06-27 Daniel Berlin + + * tree-ssa-structalias.c (find_func_aliases): Trivial fix to get + ipa-pta working again. + 2008-06-27 David Edelsohn * config/rs6000/t-aix52: Append large data option to LDFLAGS for diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 052903da76b..a9eaa97c52c 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -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); }