[PATCH] [4.5 regression] C++ ignores some aligned attributes
Mark Mitchell
mark@codesourcery.com
Wed Aug 4 15:47:00 GMT 2010
Martin Sebor wrote:
> In C++ 0x, the (presumably equivalent) alignof operator had better
> yield the same result across all translation units to preserve the
> ODR.
Indeed -- but that's independent of whether or not a diagnostic is
required when you add the alignment attribute on something other than
the first declaration within a given translation unit.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list