[Bug target/15767] gcc/sles9 type attribute aligned, packed on vector types behaves inconsistently with gcc/mac
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jun 1 22:33:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-01 22:33 -------
Unless this is right for sysv4 PowerPC abi, then the problem is in the bug is in the sysv4 header:
/* An expression for the alignment of a structure field FIELD if the
alignment computed in the usual way is COMPUTED. */
#define ADJUST_FIELD_ALIGN(FIELD, COMPUTED) \
((TARGET_ALTIVEC && TREE_CODE (TREE_TYPE (FIELD)) == VECTOR_TYPE) \
? 128 : COMPUTED)
The darwin result is correct in my mind in that it is packed, note really you should not be using packed
with vectors anyways.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c++ |target
Ever Confirmed| |1
GCC target triplet| |powerpc-*-linux-*, powerpc-
| |*-elf-*
Keywords| |ABI
Last reconfirmed|0000-00-00 00:00:00 |2004-06-01 22:33:42
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15767
More information about the Gcc-bugs
mailing list