diff options
author | Andreas Tobler <a.tobler@schweiz.org> | 2008-07-25 15:59:12 +0000 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2008-07-25 17:59:12 +0200 |
commit | 7a9461861704d98d30f28436deedb2b810733bdd (patch) | |
tree | faaf1670da2ddaa674938739718d7ec5b21ab738 /gcc | |
parent | 4a0c473d52dfe48a2211322801a6aab71a20ab6f (diff) | |
download | gcc-7a9461861704d98d30f28436deedb2b810733bdd.zip gcc-7a9461861704d98d30f28436deedb2b810733bdd.tar.gz gcc-7a9461861704d98d30f28436deedb2b810733bdd.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2972dc4..854e160 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index ef60292..4d180da 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -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. |