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)
This commit is contained in:
Alexander Kabaev 2002-12-22 05:57:53 +00:00
parent b30a244c34
commit 9361856c8a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108173

View File

@ -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;
}