This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __alignof__(T) not compile time constant?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]