From 16d547a294ccefbd20f9d4d3694bdf046ed9e55b Mon Sep 17 00:00:00 2001 From: kan Date: Sun, 22 Dec 2002 05:57:53 +0000 Subject: 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) --- contrib/gcc/config/i386/i386.c | 1 - 1 file changed, 1 deletion(-) (limited to 'contrib') 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; } -- cgit v1.1