[gcc(refs/vendors/ARM/heads/CVE-2023-4039/gcc-7)] aarch64: Tweak frame_size comment

Richard Sandiford rsandifo@gcc.gnu.org
Tue Sep 12 15:23:19 GMT 2023


https://gcc.gnu.org/g:19776fcf06856ceff521f99a1ceddaf113cf0d09

commit 19776fcf06856ceff521f99a1ceddaf113cf0d09
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Thu Jun 22 22:26:30 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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index 35ba9681e03d..19b7082187a5 100644
--- a/gcc/config/aarch64/aarch64.h
+++ b/gcc/config/aarch64/aarch64.h
@@ -575,9 +575,9 @@ struct GTY (()) aarch64_frame
      STACK_BOUNDARY.  */
   HOST_WIDE_INT 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
-   * a multiple of STACK_BOUNDARY.  */
+  /* 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.  */
   HOST_WIDE_INT frame_size;
 
   /* The size of the initial stack adjustment before saving callee-saves.  */


More information about the Gcc-cvs mailing list