This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
DEFAULT_PCC_STRUCT_RETURN redefinition warnings for NetBSD sparc
- To: egcs-patches at cygnus dot com
- Subject: DEFAULT_PCC_STRUCT_RETURN redefinition warnings for NetBSD sparc
- From: Krister Walfridsson <cato at df dot lth dot se>
- Date: Sat, 13 Jun 1998 19:53:40 +0200 (MET DST)
gcc/config/sparc/netbsd.h redefines DEFAULT_PCC_STRUCT_RETURN without
undefinig it first.
Sat Jun 13 19:35:28 Krister Walfridsson <cato@df.lth.se>
* config/sparc/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Undefine before
defining it.
*** gcc/config/sparc/netbsd.h.old Fri Apr 10 20:06:43 1998
--- gcc/config/sparc/netbsd.h Sat Jun 13 19:07:23 1998
***************
*** 37,42 ****
--- 37,43 ----
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions. */
+ #undef DEFAULT_PCC_STRUCT_RETURN
#define DEFAULT_PCC_STRUCT_RETURN 0
/* Until they use ELF or something that handles dwarf2 unwinds