__alignof__(T) not compile time constant?

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Oct 1 22:00:00 GMT 2003


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



More information about the Gcc mailing list