diff options
author | Jan Hubicka <jh@suse.cz> | 2001-08-07 16:59:30 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2001-08-07 14:59:30 +0000 |
commit | 0d025d4348eb14a3c3dd412cb32811c76929af36 (patch) | |
tree | 3594114f703962fcef9827ab179c4427c7f5b799 | |
parent | 41e0f05c2d37f5cfd010b0bb5c8121cc770404a5 (diff) | |
download | gcc-0d025d4348eb14a3c3dd412cb32811c76929af36.zip gcc-0d025d4348eb14a3c3dd412cb32811c76929af36.tar.gz gcc-0d025d4348eb14a3c3dd412cb32811c76929af36.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/rtlanal.c | 3 |
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; } |