[Bug libstdc++/19495] basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Tue Jan 18 09:46:00 GMT 2005


------- Additional Comments From pcarlini at suse dot de  2005-01-18 09:45 -------
In other terms, as far as this PR is concerned, basic_string seems ok, just
you cannot create a basic_string<char> object in memory aligned one, as happens
in ext/array_allocator/2.cc, which therefore should be fixed.

-- 


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



More information about the Gcc-bugs mailing list