[gcc r13-7804] aarch64: Tweak frame_size comment

Richard Sandiford rsandifo@gcc.gnu.org
Tue Sep 12 15:08:50 GMT 2023


https://gcc.gnu.org/g:d202ce1ecf60a36a3e1009917dd76109248ce9be

commit r13-7804-gd202ce1ecf60a36a3e1009917dd76109248ce9be
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Tue Sep 12 16:07:16 2023 +0100

    aarch64: Tweak frame_size comment
    
    This patch fixes another case in which a value was described with
    an “upside-down” view.
    
    gcc/
            * config/aarch64/aarch64.h (aarch64_frame::frame_size): Tweak comment.

Diff:
---
 gcc/config/aarch64/aarch64.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index 3808f49e9ca5..108a5731b0d7 100644
--- a/gcc/config/aarch64/aarch64.h
+++ b/gcc/config/aarch64/aarch64.h
@@ -801,8 +801,8 @@ struct GTY (()) aarch64_frame
      STACK_BOUNDARY.  */
   poly_int64 bytes_above_hard_fp;
 
-  /* The size of the frame.  This value is the offset from base of the
-     frame (incomming SP) to the stack_pointer.  This value is always
+  /* The size of the frame, i.e. the number of bytes between the bottom
+     of the outgoing arguments and the incoming SP.  This value is always
      a multiple of STACK_BOUNDARY.  */
   poly_int64 frame_size;


More information about the Gcc-cvs mailing list