aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2002-12-22 05:57:53 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2002-12-22 05:57:53 +0000
commit9361856c8a9b0802a9dee3142567d4162dd1bcac (patch)
treea2293c690507ae3b1756027cbf6e5e247f7ec0b7
parentb30a244c34af22d80a4fcba8aa7b423947f8ef42 (diff)
Fix a bug in GCC which effectively prevents DEFAULT_PCC_STRUCT_RETURN from
having any effect. This restores a calling convention traditionally used by FreeBSD/i386 and which is expected by a number of assembly sources in libc. Reviewed by: obrien Approved by: re (rwatson)
Notes
Notes: svn path=/head/; revision=108173
-rw-r--r--contrib/gcc/config/i386/i386.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/gcc/config/i386/i386.c b/contrib/gcc/config/i386/i386.c
index b4b68b479242..c7656f335ea3 100644
--- a/contrib/gcc/config/i386/i386.c
+++ b/contrib/gcc/config/i386/i386.c
@@ -1244,7 +1244,6 @@ optimization_options (level, size)
specifying them, we will set the defaults in override_options. */
if (optimize >= 1)
flag_omit_frame_pointer = 2;
- flag_pcc_struct_return = 2;
flag_asynchronous_unwind_tables = 2;
}