This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/38736] [4.4 Regression] -mavx can change the ABI via BIGGEST_ALIGNMENT
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2009 02:48:16 -0000
- Subject: [Bug target/38736] [4.4 Regression] -mavx can change the ABI via BIGGEST_ALIGNMENT
- References: <bug-38736-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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