]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR 9638/other
authorJoel Sherrill <joel@OARcorp.com>
Fri, 28 Feb 2003 17:31:34 +0000 (17:31 +0000)
committerJoel Sherrill <joel@gcc.gnu.org>
Fri, 28 Feb 2003 17:31:34 +0000 (17:31 +0000)
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.

From-SVN: r63564

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

index bb41154605ea7727a2687ebfcce1af73bce8034c..c9052edc68cce17a7d5767c79e0633da0f46f5c6 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-27  Alan Modra  <amodra@bigpond.net.au>
 
        * config/rs6000/rs6000.md: Add TI constant splitter.
index 779d89b0c9f1f3108a8393d0f6d24b80cab67ee0..8f40312097dceeac4e5f94b9c04157a13a95ec29 100644 (file)
@@ -822,6 +822,12 @@ static enum x86_64_reg_class merge_classes PARAMS ((enum x86_64_reg_class,
 
 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