aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-structalias.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 394c9c0..6e762a5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 052903d..a9eaa97 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);
}