[Bug target/29300] FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)
--- Comment #8 from ghazi at gcc dot gnu dot org 2006-10-17 01:26 --- Subject: Bug 29300 Author: ghazi Date: Tue Oct 17 01:26:28 2006 New Revision: 117811 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117811 Log: Backport: 2006-10-14 Eric Botcazou [EMAIL PROTECTED] * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on Solaris 2.5.1 too. 2006-10-07 John David Anglin [EMAIL PROTECTED] PR target/29300 * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on hppa*-*-hpux*. 2006-10-03 Uros Bizjak [EMAIL PROTECTED] * gcc-dg/pthread-init-common.h: Define _GNU_SOURCE. Add tests for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP and PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP mutex initializers. 2006-09-29 Kaveh R. Ghazi [EMAIL PROTECTED] * gcc.dg/pthread-init-1.c, pthread-init-2.c, pthread-init-common.h: New. Added: branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pthread-init-1.c branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pthread-init-2.c branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pthread-init-common.h Modified: branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29300
[Bug target/29300] FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)
--- Comment #9 from ghazi at gcc dot gnu dot org 2006-10-17 01:28 --- Subject: Bug 29300 Author: ghazi Date: Tue Oct 17 01:28:41 2006 New Revision: 117812 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117812 Log: Backport: 2006-10-14 Eric Botcazou [EMAIL PROTECTED] * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on Solaris 2.5.1 too. 2006-10-07 John David Anglin [EMAIL PROTECTED] PR target/29300 * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on hppa*-*-hpux*. 2006-10-03 Uros Bizjak [EMAIL PROTECTED] * gcc-dg/pthread-init-common.h: Define _GNU_SOURCE. Add tests for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP, PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP and PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP mutex initializers. 2006-09-29 Kaveh R. Ghazi [EMAIL PROTECTED] * gcc.dg/pthread-init-1.c, pthread-init-2.c, pthread-init-common.h: New. Added: branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/pthread-init-1.c branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/pthread-init-2.c branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/pthread-init-common.h Modified: branches/gcc-4_0-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29300
[Bug target/29300] FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)
--- Comment #6 from danglin at gcc dot gnu dot org 2006-10-15 22:54 --- Subject: Bug 29300 Author: danglin Date: Sun Oct 15 22:54:36 2006 New Revision: 117754 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117754 Log: PR target/29300 * inclhack.def (hpux_pthread_initializers): New hack. * tests/base/sys/pthread.h: New file. * fixincl.x: Regenerate. Added: branches/gcc-4_1-branch/fixincludes/tests/base/sys/pthread.h Modified: branches/gcc-4_1-branch/fixincludes/ChangeLog branches/gcc-4_1-branch/fixincludes/fixincl.x branches/gcc-4_1-branch/fixincludes/inclhack.def -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29300
[Bug target/29300] FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)
--- Comment #7 from danglin at gcc dot gnu dot org 2006-10-15 22:58 --- Subject: Bug 29300 Author: danglin Date: Sun Oct 15 22:58:29 2006 New Revision: 117755 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117755 Log: PR target/29300 * inclhack.def (hpux_pthread_initializers): New hack. * tests/base/sys/pthread.h: New file. * fixincl.x: Regenerate. Added: branches/gcc-4_0-branch/fixincludes/tests/base/sys/pthread.h Modified: branches/gcc-4_0-branch/fixincludes/ChangeLog branches/gcc-4_0-branch/fixincludes/fixincl.x branches/gcc-4_0-branch/fixincludes/inclhack.def -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29300
[Bug target/29300] FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)
--- Comment #3 from danglin at gcc dot gnu dot org 2006-10-07 16:35 --- Subject: Bug 29300 Author: danglin Date: Sat Oct 7 16:35:11 2006 New Revision: 117537 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117537 Log: PR target/29300 * inclhack.def (hpux_pthread_initializers): New hack. * tests/base/sys/pthread.h: New file. * fixincl.x: Regenerate. Added: trunk/fixincludes/tests/base/sys/pthread.h Modified: trunk/fixincludes/ChangeLog trunk/fixincludes/fixincl.x trunk/fixincludes/inclhack.def -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29300
[Bug target/29300] FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)
--- Comment #4 from danglin at gcc dot gnu dot org 2006-10-07 16:42 --- Subject: Bug 29300 Author: danglin Date: Sat Oct 7 16:42:29 2006 New Revision: 117538 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117538 Log: PR target/29300 * gcc.dg/pthread-init-2.c (dg-options): Define _POSIX_C_SOURCE=199506L on hppa*-*-hpux*. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/pthread-init-2.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29300
[Bug target/29300] FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)
--- Comment #5 from danglin at gcc dot gnu dot org 2006-10-07 17:09 --- Fixed by patches. -- danglin at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29300
[Bug target/29300] FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)
--- Comment #1 from uros at kss-loka dot si 2006-10-03 07:04 --- Similar problems were recently fixed for solaris and glibc-2.3.5. It looks that hpux needs a fixinclude hack that would cure these errors/warnings, somehing like: http://gcc.gnu.org/ml/gcc-patches/2006-09/msg01317.html http://gcc.gnu.org/ml/gcc-patches/2006-10/msg9.html and perhaps http://gcc.gnu.org/ml/gcc-patches/2006-10/msg9.html Confirmed, as gcc.dg/pthread-* tests were introduced in order to catch problems as described in the bug description. -- uros at kss-loka dot si changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-10-03 07:04:17 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29300
[Bug target/29300] FAIL: gcc.dg/pthread-init-[12].c (test for excess errors)
--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2006-10-03 13:01 --- Subject: Re: FAIL: gcc.dg/pthread-init-[12].c (test for excess errors) --- Comment #1 from uros at kss-loka dot si 2006-10-03 07:04 --- Similar problems were recently fixed for solaris and glibc-2.3.5. It looks that hpux needs a fixinclude hack that would cure these errors/warnings, somehing like: I have a patch. I've tested it on 11.11 but 11.00 and 11.23 still need testing. There are two issues. pthread_kill and pthread_sigmask need wrappers as these are being declared with -ansi (they are POSIX.1c). There are lots of missing braces in the initializers. I'd hoped to avoid fixing this warning ;( Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29300