This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24831] [4.1/4.2 regression] gthr-dce.h:77: error: expected expression before '{' token
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2006 22:00:34 -0000
- Subject: [Bug target/24831] [4.1/4.2 regression] gthr-dce.h:77: error: expected expression before '{' token
- References: <bug-24831-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from danglin at gcc dot gnu dot org 2006-01-26 22:00 -------
Subject: Bug 24831
Author: danglin
Date: Thu Jan 26 22:00:28 2006
New Revision: 110278
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110278
Log:
PR other/24829
PR target/24831
* gthr-dce.h: Do not gthrw-ify pthread_once_init,
pthread_key_delete. From John David Anglin. gthrw-ify
pthread_getunique_np only if it it's not a macro. Delete
UNUSED macro.
(__gthread_objc_condition_allocate,
__gthread_objc_condition_deallocate,
__gthread_objc_condition_wait, __gthread_objc_condition_broadcast,
__gthread_objc_condition_signal, __gthread_key_delete): Add
"__attribute__ ((__unused__))" to unused arguments.
(__gthread_recursive_mutex_init_function): Add missing return.
* gthr-dce.h, gthr-tpf.h, gthr-solaris.h, gthr-posix.h,
gthr-posix95.h: Use macro-based approach for name redirection
on targets missing weakref.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gthr-dce.h
trunk/gcc/gthr-posix.h
trunk/gcc/gthr-posix95.h
trunk/gcc/gthr-solaris.h
trunk/gcc/gthr-tpf.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24831