]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rtlanal.c (find_first_parameter_load): Call note_stores only on the instructions.
authorJan Hubicka <jh@suse.cz>
Tue, 7 Aug 2001 14:59:30 +0000 (16:59 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 7 Aug 2001 14:59:30 +0000 (14:59 +0000)
* rtlanal.c (find_first_parameter_load): Call note_stores
only on the instructions.

From-SVN: r44693

gcc/ChangeLog
gcc/rtlanal.c

index b19212a296c67777966bc00754b70a887a566897..ee88a9f1a676a02c43d10976e64feaf41e803102 100644 (file)
@@ -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):
index 0502b85cf798edc4cc154f17ef92b3caf9cc272b..fbb393d8096b12255541c049ec8360d336c77a98 100644 (file)
@@ -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;
 }