OSDN Git Service

2004-10-11 Andrew Pinski <pinskia@physics.uc.edu
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 2004 18:32:40 +0000 (18:32 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Oct 2004 18:32:40 +0000 (18:32 +0000)
        PR middle-end/16266
        * function.c (temp_slots_at_level): Fix typo which creates too
        many temp stack slots levels.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88896 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/function.c

index cd177e6..5801fd5 100644 (file)
@@ -1,3 +1,9 @@
+2004-10-11  Andrew Pinski  <pinskia@physics.uc.edu
+
+       PR middle-end/16266
+       * function.c (temp_slots_at_level): Fix typo which creates too
+       many temp stack slots levels.
+
 2004-10-11  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * config/s390/s390.c (s390_trampoline_template): Generate shorter
index f583d29..a8bd0f5 100644 (file)
@@ -533,7 +533,6 @@ insert_slot_to_list (struct temp_slot *temp, struct temp_slot **list)
 static struct temp_slot **
 temp_slots_at_level (int level)
 {
-  level++;
 
   if (!used_temp_slots)
     VARRAY_GENERIC_PTR_INIT (used_temp_slots, 3, "used_temp_slots");