public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-9098] Fix PR target/102588
@ 2021-10-12 9:23 Eric Botcazou
0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2021-10-12 9:23 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1cedb519613006014eeb1a7464a5fbc3509a3a63
commit r11-9098-g1cedb519613006014eeb1a7464a5fbc3509a3a63
Author: Eric Botcazou <ebotcazou@adacore.com>
Date: Tue Oct 12 11:20:42 2021 +0200
Fix PR target/102588
We need a 32-byte wide integer mode (OImode) in order to handle structure
returns in the 64-bit ABI.
gcc/
PR target/102588
* config/sparc/sparc-modes.def (OI): New integer mode.
Diff:
---
gcc/config/sparc/sparc-modes.def | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gcc/config/sparc/sparc-modes.def b/gcc/config/sparc/sparc-modes.def
index 5cc4743f199..057c09345a9 100644
--- a/gcc/config/sparc/sparc-modes.def
+++ b/gcc/config/sparc/sparc-modes.def
@@ -23,6 +23,9 @@ along with GCC; see the file COPYING3. If not see
/* 128-bit floating point */
FLOAT_MODE (TF, 16, ieee_quad_format);
+/* We need a 32-byte mode to return structures in the 64-bit ABI. */
+INT_MODE (OI, 32);
+
/* Add any extra modes needed to represent the condition code.
We have a CCNZ mode which is used for implicit comparisons with zero when
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-12 9:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 9:23 [gcc r11-9098] Fix PR target/102588 Eric Botcazou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).