OSDN Git Service

2003-02-28 Joel Sherrill <joel@OARcorp.com>
authorjoel <joel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Feb 2003 18:30:57 +0000 (18:30 +0000)
committerjoel <joel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Feb 2003 18:30:57 +0000 (18:30 +0000)
PR 9638/other
* config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
this constant defaults to 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63569 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index 42f96cf..1902523 100644 (file)
@@ -1,3 +1,9 @@
+2003-02-28  Joel Sherrill <joel@OARcorp.com>
+
+       PR 9638/other
+       * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the 
+       this constant defaults to 1.
+
 2003-02-28  Bob Wilson  <bob.wilson@acm.org>
 
        * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.
 2003-02-28  Bob Wilson  <bob.wilson@acm.org>
 
        * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.
index 53df089..81d6437 100644 (file)
@@ -1015,6 +1015,12 @@ static void init_ext_80387_constants PARAMS ((void));
 
 struct gcc_target targetm = TARGET_INITIALIZER;
 \f
 
 struct gcc_target targetm = TARGET_INITIALIZER;
 \f
+/* The svr4 ABI for the i386 says that records and unions are returned
+   in memory.  */
+#ifndef DEFAULT_PCC_STRUCT_RETURN
+#define DEFAULT_PCC_STRUCT_RETURN 1
+#endif
+
 /* 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
 /* 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