re PR target/9506 (ABI breakage: structure return)

PR c/9506
	* i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
	* gcc.dg/struct-ret-libc.c: New test.

From-SVN: r62206
This commit is contained in:
Loren J. Rittle 2003-01-31 22:06:29 +00:00
parent f525d3f5e3
commit c976099b74
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2003-01-31 Jan Hubicka <jh@suse.cz>
PR c/9506
* i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
2003-01-31 Loren J. Rittle <ljrittle@acm.org>
* gcc.dg/struct-ret-libc.c: New test.
2003-01-30 Andreas Schwab <schwab@suse.de>
* config/m68k/m68k.md (tablejump+2): Don't sign extend an address

View File

@ -924,7 +924,7 @@ override_options ()
if (flag_asynchronous_unwind_tables == 2)
flag_asynchronous_unwind_tables = 0;
if (flag_pcc_struct_return == 2)
flag_pcc_struct_return = 1;
flag_pcc_struct_return = DEFAULT_PCC_STRUCT_RETURN;
}
#ifdef SUBTARGET_OVERRIDE_OPTIONS