Use __may_alias__ instead of may_alias. Fixes #6410.

[SVN r82919]
This commit is contained in:
Steven Watanabe
2013-02-16 02:48:46 +00:00
parent ff48f2b3a0
commit e8853f23cd

View File

@ -127,7 +127,7 @@ class aligned_storage
union union
// This works around GCC warnings about breaking strict aliasing rules when casting storage address to T* // This works around GCC warnings about breaking strict aliasing rules when casting storage address to T*
#if defined(BOOST_OPTIONAL_DETAIL_USE_ATTRIBUTE_MAY_ALIAS) #if defined(BOOST_OPTIONAL_DETAIL_USE_ATTRIBUTE_MAY_ALIAS)
__attribute__((may_alias)) __attribute__((__may_alias__))
#endif #endif
dummy_u dummy_u
{ {