[Bug c++/10479] __alignof__(double) not compile time constant inside template class

rguenth at tat dot physik dot uni-tuebingen dot de gcc-bugzilla@gcc.gnu.org
Tue Sep 14 13:09:00 GMT 2004


------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de  2004-09-14 13:09 -------
Same with using sizeof() instead of __alignof__.  Can we please clarify if we
are supporting this syntax?  It seems at least that sizeof() is a constant
expression
in the sense of the C++ standard.  So - are we supposed to support any
conforming constant expression as argument to attribute(aligned)?

I'd like to CC a C++ maintainer here, but it seems just for one comment I cannot
do this, so, Mark added to PR CC list.

Thanks,
Richard.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10479



More information about the Gcc-bugs mailing list