+2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
+ * config/arc/arc.h: Remove define of STRUCT_VALUE.
+ * config/lm32/lm32.h: Likewise.
+ * config/mep/mep.h: Likewise.
+ * config/visium/visium.h: Likewise.
+ * system.h: Poison STRUCT_VALUE macro.
+
2015-09-12 John David Anglin <danglin@gcc.gnu.org>
* config/pa/pa.c (pa_output_move_double): Enhance to handle HIGH
/* Tell GCC to use RETURN_IN_MEMORY. */
#define DEFAULT_PCC_STRUCT_RETURN 0
-/* Register in which address to store a structure value
- is passed to a function, or 0 to use `invisible' first argument. */
-#define STRUCT_VALUE 0
-
/* EXIT_IGNORE_STACK should be nonzero if, when returning from a function,
the stack pointer does not matter. The value is tested only in
functions that have frame pointers.
LM32_NUM_INTS ((MODE) == BLKmode ? \
int_size_in_bytes (TYPE) : GET_MODE_SIZE (MODE))
-#define STRUCT_VALUE 0
-
/*---------------------------*/
/* Function entry and exit. */
/*---------------------------*/
#define DEFAULT_PCC_STRUCT_RETURN 0
-#define STRUCT_VALUE 0
-
#define FUNCTION_OK_FOR_SIBCALL(DECL) mep_function_ok_for_sibcall(DECL)
\f
/* Prologue and epilogues are all handled via RTL. */
If not defined, this defaults to the value 1. */
#define DEFAULT_PCC_STRUCT_RETURN 0
-/* `STRUCT_VALUE'
-
- If the structure value address is not passed in a register, define
- `STRUCT_VALUE' as an expression returning an RTX for the place
- where the address is passed. If it returns 0, the address is
- passed as an "invisible" first argument. */
-#define STRUCT_VALUE 0
-
/* Caller-Saves Register Allocation
If you enable it, GNU CC can save registers around function calls.
EXTRA_ADDRESS_CONSTRAINT CONST_DOUBLE_OK_FOR_CONSTRAINT_P \
CALLER_SAVE_PROFITABLE LARGEST_EXPONENT_IS_NORMAL \
ROUND_TOWARDS_ZERO SF_SIZE DF_SIZE XF_SIZE TF_SIZE LIBGCC2_TF_CEXT \
- LIBGCC2_LONG_DOUBLE_TYPE_SIZE
+ LIBGCC2_LONG_DOUBLE_TYPE_SIZE STRUCT_VALUE
/* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
+2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
+ PR libobjc/24775
+ * sendmsg.c: Remove check of STRUCT_VALUE macro.
+
2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
* configure.ac: Remove manual SJLJ check.
#include <assert.h> /* For assert */
#include <string.h> /* For strlen */
-/* This is how we hack STRUCT_VALUE to be 1 or 0. */
#define gen_rtx(args...) 1
#define gen_rtx_MEM(args...) 1
#define gen_rtx_REG(args...) 1
#undef rtx
#define rtx int
-#if ! defined (STRUCT_VALUE) || STRUCT_VALUE == 0
#define INVISIBLE_STRUCT_RETURN 1
-#else
-#define INVISIBLE_STRUCT_RETURN 0
-#endif
/* The uninstalled dispatch table. If a class' dispatch table points
to __objc_uninstalled_dtable then that means it needs its dispatch