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

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

index 42f96cfe1396175f950b2e026ad67299a50328b8..19025236a03fc7f54278e1d49a03e6a2e6bbfadb 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.
index 53df0892172e52e81c45c8782f38a2e718a7da45..81d64375e91e77da49a57a9a737f3b5e4e6bb1cf 100644 (file)
@@ -1015,6 +1015,12 @@ static void init_ext_80387_constants PARAMS ((void));
 
 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