https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68739
--- Comment #13 from John David Anglin <danglin at gcc dot gnu.org> --- Author: danglin Date: Sat Nov 11 15:53:18 2017 New Revision: 254654 URL: https://gcc.gnu.org/viewcvs?rev=254654&root=gcc&view=rev Log: Backport from mainline 2017-02-25 John David Anglin <dang...@gcc.gnu.org> PR target/68739 * inclhack.def (hpux11_pthread_pointer): New fix. (hpux11_pthread_const): Adjust to remove void * cast from define. * fixincl.x: Regenerate. * tests/base/sys/pthread.h [HPUX11_PTHREAD_CONST_CHECK]: Update tests. Modified: branches/gcc-6-branch/fixincludes/ChangeLog branches/gcc-6-branch/fixincludes/fixincl.x branches/gcc-6-branch/fixincludes/inclhack.def branches/gcc-6-branch/fixincludes/tests/base/sys/pthread.h