This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/21554] [4.0 Regression] ext/array_allocator/2.cc execution test fails on hppa64-hpux


------- 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


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