re PR bootstrap/36918 (Bootstrap failure on sparc: assertion failure in options.c)

2008-07-25  Andreas Tobler  <a.tobler@schweiz.org>

	PR bootstrap/36918
	* config/sparc/sparc.h (DEFAULT_PCC_STRUCT_RETURN): Define
	DEFAULT_PCC_STRUCT_RETURN to 127.

From-SVN: r138145
This commit is contained in:
Andreas Tobler 2008-07-25 15:59:12 +00:00 committed by Andreas Tobler
parent 4a0c473d52
commit 7a94618617
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-07-25 Andreas Tobler <a.tobler@schweiz.org>
PR bootstrap/36918
* config/sparc/sparc.h (DEFAULT_PCC_STRUCT_RETURN): Define
DEFAULT_PCC_STRUCT_RETURN to 127.
2008-07-24 Jan Hubicka <jh@suse.cz>
* cgraphbuild.c (record_reference): Drop non-unit-at-a-time code.

View File

@ -981,9 +981,12 @@ extern int sparc_mode_class[];
/* Pick a default value we can notice from override_options:
!v9: Default is on.
v9: Default is off. */
v9: Default is off.
Originally it was -1, but later on the container of options changed to
unsigned byte, so we decided to pick 127 as default value, which does
reflect an undefined default value in case of 0/1. */
#define DEFAULT_PCC_STRUCT_RETURN -1
#define DEFAULT_PCC_STRUCT_RETURN 127
/* Functions which return large structures get the address
to place the wanted value at offset 64 from the frame.