This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 2/6] [i386] Remove ix86_frame::outlined_save_offset
- From: Daniel Santos <daniel dot santos at pobox dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, Uros Bizjak <ubizjak at gmail dot com>, Jan Hubicka <hubicka at ucw dot cz>
- Cc: Martin Liska <mliska at suse dot cz>, "H . J . Lu" <hjl dot tools at gmail dot com>
- Date: Mon, 31 Jul 2017 06:24:31 -0500
- Subject: [PATCH 2/6] [i386] Remove ix86_frame::outlined_save_offset
- Authentication-results: sourceware.org; auth=none
- References: <ef1171ca-bb17-c362-a5e8-231bf7700f79@pobox.com>
This value was used in an earlier incarnation of the
-mcall-ms2sysv-xlogues patch set but is now set and never read. The
value of ix86_frame::sse_reg_save_offset serves the same purpose.
Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
---
gcc/config/i386/i386.c | 1 -
gcc/config/i386/i386.h | 4 +---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 690631dfe43..47c5608c3cd 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -12966,7 +12966,6 @@ ix86_compute_frame_layout (void)
offset += xlogue.get_stack_space_used ();
gcc_assert (!(offset & 0xf));
- frame->outlined_save_offset = offset;
}
/* Align and set SSE register save area. */
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index ce5bb7f6677..1648bdf1556 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -2477,8 +2477,7 @@ enum avx_u128_state
<- end of stub-saved/restored regs
[padding1]
]
- <- outlined_save_offset
- <- sse_regs_save_offset
+ <- sse_reg_save_offset
[padding2]
| <- FRAME_POINTER
[va_arg registers] |
@@ -2504,7 +2503,6 @@ struct GTY(()) ix86_frame
HOST_WIDE_INT reg_save_offset;
HOST_WIDE_INT stack_realign_allocate_offset;
HOST_WIDE_INT stack_realign_offset;
- HOST_WIDE_INT outlined_save_offset;
HOST_WIDE_INT sse_reg_save_offset;
/* When save_regs_using_mov is set, emit prologue using
--
2.13.3