This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/21554] [4.0 Regression] ext/array_allocator/2.cc execution test fails on hppa64-hpux
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 May 2005 21:13:47 -0000
- Subject: [Bug libstdc++/21554] [4.0 Regression] ext/array_allocator/2.cc execution test fails on hppa64-hpux
- References: <20050513192329.21554.jsm28@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-05-13 21:13 -------
> So this should be treated as a known latent bug, a testcase which fails or
> passes at random on targets requiring strict alignment? In which case
> there should be an effective-target keyword for strict alignment and the
> testcase should be xfailed on all such targets?
Yes, I think the testcase should be simply xfaild on targets requiring strict
alignment, that is, requiring alignment strictly > alignment(char) for memory
involved in atomic operations. Currently (*) basic_string doesn't rebind the
passed allocator to one sufficiently aligned for atomic memory, sadly.
(*) Since we don't want to break the library ABI anytime soon, probably I
will try again to fix this long standing bug within v6 (while also keep on
working on the next basic_string in v7).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21554