Skip to content
Snippets Groups Projects
Commit a1a7d094 authored by Eric Botcazou's avatar Eric Botcazou
Browse files

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.
parent f5a538e1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment