From: Jan Hubicka Date: Tue, 7 Aug 2001 14:59:30 +0000 (+0200) Subject: rtlanal.c (find_first_parameter_load): Call note_stores only on the instructions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d025d4348eb14a3c3dd412cb32811c76929af36;p=gcc.git rtlanal.c (find_first_parameter_load): Call note_stores only on the instructions. * rtlanal.c (find_first_parameter_load): Call note_stores only on the instructions. From-SVN: r44693 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b19212a296c..ee88a9f1a67 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 7 16:52:54 CEST 2001 Jan Hubicka + + * rtlanal.c (find_first_parameter_load): Call note_stores + only on the instructions. + Tue Aug 7 14:56:16 CEST 2001 Jan Hubicka * alias.c (nonlocal_mentioned_p): diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 0502b85cf79..fbb393d8096 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; }