------- Comment #17 from bkoz at gcc dot gnu dot org 2006-10-06 09:55 ------- I don't think this is an ordering problem... there are no complicated ordering issues in this code. Something to try might be making test_mutex static, and not in an anonymous namespace.
I'm not quite sure why hppa is acting so strangely. Can you try a version of hppa-linux that is using NPTL? best, benjamin -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29118