OSDN Git Service

* pa.c (compute_frame_size): Scan all the used callee saved registers,
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Jul 1999 21:10:31 +0000 (21:10 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Jul 1999 21:10:31 +0000 (21:10 +0000)
        not just the first one.

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

gcc/ChangeLog
gcc/config/pa/pa.c

index f47bb6f..645d23d 100644 (file)
@@ -1,3 +1,8 @@
+Sun Jul 25 15:04:37 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * pa.c (compute_frame_size): Scan all the used callee saved registers,
+       not just the first one.
+
 Fri Jul 23 14:09:58 1999  Philip Blundell  <pb@nexus.co.uk>
 
        * config/arm/arm.h (TARGET_SWITCHES): Add 
index af942f9..5db584c 100644 (file)
@@ -2558,10 +2558,7 @@ compute_frame_size (size, fregs_live)
 
   for (i = 18; i >= 3; i--)
     if (regs_ever_live[i])
-      {
-       fsize += UNITS_PER_WORD;
-       break;
-      }
+      fsize += UNITS_PER_WORD;
 
   /* Round the stack.  */
   fsize = (fsize + 7) & ~7;
@@ -2573,7 +2570,6 @@ compute_frame_size (size, fregs_live)
          *fregs_live = 1;
 
        fsize += 8;
-       break;
       }
 
   fsize += current_function_outgoing_args_size;