[Bug target/38736] [4.4 Regression] -mavx can change the ABI via BIGGEST_ALIGNMENT
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 7 02:48:00 GMT 2009
------- Comment #6 from hjl dot tools at gmail dot com 2009-01-07 02:48 -------
(In reply to comment #4)
> There is another place:
>
> libstdc++-v3/include/std/type_traits: struct __attribute__((__aligned__)) { }
> __align;
>
It may not be a problem since it is used to get the default alignment,
which is encoded in the class template:
template<std::size_t _Len>
struct __aligned_storage_msa
{
union __type
{
unsigned char __data[_Len];
struct __attribute__((__aligned__)) { } __align;
};
};
...
template<std::size_t _Len, std::size_t _Align =
__alignof__(typename __aligned_storage_msa<_Len>::__type)>
struct aligned_storage
{
union type
{
unsigned char __data[_Len];
struct __attribute__((__aligned__((_Align)))) { } __align;
};
};
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2009-01-05 23:30:01 |2009-01-07 02:48:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38736
More information about the Gcc-bugs
mailing list