__alignof__(T) not compile time constant?

Paolo Carlini pcarlini@unitus.it
Wed Oct 1 21:43:00 GMT 2003


Gabriel Dos Reis wrote:

>The root of the disease is the same as for the PR that talks about
>alignment in std::basic_string. 
>
>I promised Paolo that I'll raise the issue.  Now seems to be the time.
>
[snip]

Thanks Gaby.

If I understand your interesting explanations the front end should be
fixed to have a true "C++" __alignof__. Unfortunately, I don't think
this is going to happen "tomorrow", right?

Can you imagine a temporary fix for libstdc++/8670? Perhaps that
suggested at the time by Martin?

Thanks,
Paolo.



More information about the Gcc mailing list