[Bug libstdc++/8670] Alignment problem in std::basic_string

gdr at cs dot tamu dot edu gcc-bugzilla@gcc.gnu.org
Sat Oct 16 14:48:00 GMT 2004


------- Additional Comments From gdr at cs dot tamu dot edu  2004-10-16 14:48 -------
Subject: Re:  Alignment problem in std::basic_string

"giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org> writes:

| I see this report is marked as a v3 report. I do not understand exactly what 
| you still need to fix in C++. I have a patch in my (long) queue which fixes 
| this:
| 
| template <int>
| struct S {
|    enum { K = 8 };
|    char foo __attribute__((aligned(K)));
| };
| 
| Can I assume that this bug is about this issue, and thus assigning this to me 
| (if Gaby does not mind) or is it better if I open a new report?

I don't mind you take on bugs, as far as they are fixed :-)

The V3 bits in this is that we need to get basic_string fixed.
If the front-end ix fixed, then we can use the aligned attribute in a
meaningful way.

Thanks

-- Gaby


-- 


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



More information about the Gcc-bugs mailing list