aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/rtlanal.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b19212a..ee88a9f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * rtlanal.c (find_first_parameter_load): Call note_stores
+ only on the instructions.
+
Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka <jh@suse.cz>
* alias.c (nonlocal_mentioned_p):
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 0502b85..fbb393d 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -2862,7 +2862,8 @@ find_first_parameter_load (call_insn, boundary)
break;
}
- note_stores (PATTERN (before), parms_set, &parm);
+ if (INSN_P (before))
+ note_stores (PATTERN (before), parms_set, &parm);
}
return before;
}