i386-elf/rtems on gcc 3.2.2
Thu Feb 27 22:13:00 GMT 2003
Richard Henderson wrote:
> On Thu, Feb 27, 2003 at 12:11:20PM -0600, Joel Sherrill wrote:
> > Richard is this the patch OK? Or would you rather see the same type
> > of defaulting in i386.c just prior to override_options?
> Put it in i386.c.
Okey dokey. Is this patch OK? If so, it needs to go on at
least the 3.2 branch and the last I checked on the 3.3 branch.
2003-02-27 Joel Sherrill <joel@OARcorp.com>
* config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
this constant defaults to 1.
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.3220.127.116.11.10
diff -u -r1.318.104.22.168.10 i386.c
--- i386.c 26 Feb 2003 01:29:09 -0000 1.322.214.171.124.10
+++ i386.c 27 Feb 2003 22:12:27 -0000
@@ -822,6 +822,11 @@
struct gcc_target targetm = TARGET_INITIALIZER;
+/* The svr4 ABI for the i386 says that records and unions are returned
+ in memory. */
+#define DEFAULT_PCC_STRUCT_RETURN 1
/* Sometimes certain combinations of command options do not make
sense on a particular target machine. You can define a macro
`OVERRIDE_OPTIONS' to take account of this. This macro, if
More information about the Gcc-bugs