diff options
| author | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-25 15:59:12 +0000 |
|---|---|---|
| committer | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-25 15:59:12 +0000 |
| commit | 08715a1a4174323a24f9554b49bf02428cc15965 (patch) | |
| tree | faaf1670da2ddaa674938739718d7ec5b21ab738 /gcc | |
| parent | 6a9d972b1b54ded74bec31b381c48ba717dfd259 (diff) | |
| download | ppe42-gcc-08715a1a4174323a24f9554b49bf02428cc15965.tar.gz ppe42-gcc-08715a1a4174323a24f9554b49bf02428cc15965.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138145 138bc75d-0d04-0410-961f-82ee72b054a4
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 2972dc4c4dd..854e160c7aa 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 ef60292cef3..4d180da8285 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. |

