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-Tag: prereleases/libstdc++-3.0.95~2819 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d025d4348eb14a3c3dd412cb32811c76929af36;p=thirdparty%2Fgcc.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 b19212a296c6..ee88a9f1a676 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 0502b85cf798..fbb393d8096b 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; }