diff options
author | Joel Sherrill <joel@OARcorp.com> | 2003-02-28 18:30:57 +0000 |
---|---|---|
committer | Joel Sherrill <joel@gcc.gnu.org> | 2003-02-28 18:30:57 +0000 |
commit | 67c2b45f5055fc03f65ce58101ed4894d5cd4b7f (patch) | |
tree | 972c55f707df66545072448467a69fe817cc6c7a /gcc | |
parent | 066f153843bffb7247ff052b38a7e94eee3c0096 (diff) | |
download | gcc-67c2b45f5055fc03f65ce58101ed4894d5cd4b7f.zip gcc-67c2b45f5055fc03f65ce58101ed4894d5cd4b7f.tar.gz gcc-67c2b45f5055fc03f65ce58101ed4894d5cd4b7f.tar.bz2 |
PR 9638/other
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 42f96cf..1902523 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 53df089..81d6437 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -1015,6 +1015,12 @@ static void init_ext_80387_constants PARAMS ((void)); struct gcc_target targetm = TARGET_INITIALIZER; +/* 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 |