summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2002-12-22 05:57:53 +0000
committerkan <kan@FreeBSD.org>2002-12-22 05:57:53 +0000
commit16d547a294ccefbd20f9d4d3694bdf046ed9e55b (patch)
treea2293c690507ae3b1756027cbf6e5e247f7ec0b7 /contrib
parent82e1e3bab0d3abe1018a0b56559c154485f2f676 (diff)
downloadFreeBSD-src-16d547a294ccefbd20f9d4d3694bdf046ed9e55b.zip
FreeBSD-src-16d547a294ccefbd20f9d4d3694bdf046ed9e55b.tar.gz
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)
Diffstat (limited to 'contrib')
-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 b4b68b4..c7656f3 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;
}
OpenPOWER on IntegriCloud