diff options
| author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-14 03:43:03 +0000 |
|---|---|---|
| committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-14 03:43:03 +0000 |
| commit | 1daca59d66ab809231a45ff6cecf9e56aaebff0f (patch) | |
| tree | 28af122d26cb4024415d179117c92b094f922020 /gcc/config/rs6000/sysv4.h | |
| parent | a0222b010be43e5b942ef69ffedf8d0968dbc7e1 (diff) | |
| download | ppe42-gcc-1daca59d66ab809231a45ff6cecf9e56aaebff0f.tar.gz ppe42-gcc-1daca59d66ab809231a45ff6cecf9e56aaebff0f.zip | |
2002-02-13 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
* config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49758 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/sysv4.h')
| -rw-r--r-- | gcc/config/rs6000/sysv4.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index c20eaa0101f..5b0befeb16b 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -397,7 +397,8 @@ do { \ SPECIFIED. */ #define ROUND_TYPE_ALIGN(TYPE, COMPUTED, SPECIFIED) \ ((TARGET_ALTIVEC && TREE_CODE (TYPE) == VECTOR_TYPE) \ - ? 128 : MAX (COMPUTED, SPECIFIED)) + ? MAX (MAX ((COMPUTED), (SPECIFIED)), 128) \ + : MAX (COMPUTED, SPECIFIED)) #undef BIGGEST_FIELD_ALIGNMENT #undef ADJUST_FIELD_ALIGN |

