This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __alignof__(T) not compile time constant?
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>, gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, Martin Sebor <sebor at roguewave dot com>, jkanze at caicheuvreux dot com
- Date: 01 Oct 2003 23:58:27 +0200
- Subject: Re: __alignof__(T) not compile time constant?
- Organization: Integrable Solutions
- References: <Pine.LNX.4.44.0309291631060.898-100000@bellatrix.tat.physik.uni-tuebingen.de><m3brt37i8o.fsf@uniton.integrable-solutions.net><3F7B4AA5.1050804@unitus.it> <3F7B4C21.6070608@unitus.it>
Paolo Carlini <pcarlini@unitus.it> writes:
| Paolo Carlini wrote:
|
| > Can you imagine a temporary fix for libstdc++/8670? Perhaps that
| > suggested at the time by Martin?
|
| On second tought, it occurs to me that in mainline we have now:
|
| struct _Rep_base
| {
| size_type _M_length;
| size_type _M_capacity;
| _Atomic_word _M_references;
| };
|
| struct _Rep : _Rep_base
| {
| ...
How does that change the alignment issue? I thought that code have
always been there in that form.
-- Gaby