------- Comment #9 from jakub at gcc dot gnu dot org 2009-11-19 11:54 ------- The #c4 patch looks wrong, instead of that you should IMHO just not use UNUSED macro on __gthread_mutex_destroy argument. It is perfectly fine on __gthread_key_delete.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41810