+2012-06-19 David Edelsohn <dje.gcc@gmail.com>
+
+ * inclhack.def (aix_mutex_initializer_1): New fix.
+ (aix_cond_initializer_1): New fix.
+ (aix_rwlock_initializer): New fix.
+ * fixincl.x: Regenerate.
+ * tests/base/pthread.h [AIX_MUTEX_INITIALIZER_1_CHECK]: New.
+ [AIX_COND_INITIALIZER_1_CHECK]: New.
+ [AIX_RWLOCK_INITIALIZER_1_CHECK]: New.
+
2012-05-29 Thomas Schwinge <thomas@codesourcery.com>
* configure.ac: Use GCC_AC_FUNC_MMAP_BLACKLIST instead of
* inclhack.def (aix_malloc): New.
* fixincl.x: Regenerate.
* tests/base/malloc.h [AIX_MALLOC_CHECK]: New.
-
+
2012-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR other/52626
* inclhack.def (aix_complex): New fix.
* fixincl.x: Regenerate.
-
+
2009-08-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
* fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
targets for which a no-op fixer is appropriate.
-
+
2006-11-07 Richard Guenther <rguenther@suse.de>
* inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
* inclhack.def (solaris_once_init_1): New.
* tests/base/pthread.h: Adjust for new fix.
-
+
* fixincl.x: Regenerate.
2006-07-17 Roger Sayle <roger@eyesopen.com>
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
- * It has been AutoGen-ed March 23, 2012 at 02:26:20 PM by AutoGen 5.10
+ * It has been AutoGen-ed June 19, 2012 at 09:23:54 AM by AutoGen 5.10
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT SVN-MERGE THIS FILE, EITHER Fri Mar 23 14:26:20 EDT 2012
+/* DO NOT SVN-MERGE THIS FILE, EITHER Tue Jun 19 09:23:54 EDT 2012
*
* You must regenerate it. Use the ./genfixes script.
*
* certain ANSI-incompatible system header files which are fixed to work
* correctly with ANSI C and placed in a directory that GNU C will search.
*
- * This file contains 212 fixup descriptions.
+ * This file contains 215 fixup descriptions.
*
* See README for more information.
*
}}\n",
(char*)NULL };
+/* * * * * * * * * * * * * * * * * * * * * * * * * *
+ *
+ * Description of Aix_Mutex_Initializer_1 fix
+ */
+tSCC zAix_Mutex_Initializer_1Name[] =
+ "aix_mutex_initializer_1";
+
+/*
+ * File name selection pattern
+ */
+tSCC zAix_Mutex_Initializer_1List[] =
+ "pthread.h\0";
+/*
+ * Machine/OS name selection pattern
+ */
+tSCC* apzAix_Mutex_Initializer_1Machs[] = {
+ "*-*-aix*",
+ (const char*)NULL };
+
+/*
+ * content selection pattern - do fix if pattern found
+ */
+tSCC zAix_Mutex_Initializer_1Select0[] =
+ "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
+\\{ \\\\\n";
+
+#define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
+static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
+ { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
+
+/*
+ * Fix Command Arguments for Aix_Mutex_Initializer_1
+ */
+static const char* apzAix_Mutex_Initializer_1Patch[] = {
+ "format",
+ "#define PTHREAD_MUTEX_INITIALIZER \\\n\
+{{ \\\n",
+ (char*)NULL };
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * *
+ *
+ * Description of Aix_Cond_Initializer_1 fix
+ */
+tSCC zAix_Cond_Initializer_1Name[] =
+ "aix_cond_initializer_1";
+
+/*
+ * File name selection pattern
+ */
+tSCC zAix_Cond_Initializer_1List[] =
+ "pthread.h\0";
+/*
+ * Machine/OS name selection pattern
+ */
+tSCC* apzAix_Cond_Initializer_1Machs[] = {
+ "*-*-aix*",
+ (const char*)NULL };
+
+/*
+ * content selection pattern - do fix if pattern found
+ */
+tSCC zAix_Cond_Initializer_1Select0[] =
+ "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
+\\{ \\\\\n";
+
+#define AIX_COND_INITIALIZER_1_TEST_CT 1
+static tTestDesc aAix_Cond_Initializer_1Tests[] = {
+ { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
+
+/*
+ * Fix Command Arguments for Aix_Cond_Initializer_1
+ */
+static const char* apzAix_Cond_Initializer_1Patch[] = {
+ "format",
+ "#define PTHREAD_COND_INITIALIZER \\\n\
+{{ \\\n",
+ (char*)NULL };
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * *
+ *
+ * Description of Aix_Rwlock_Initializer_1 fix
+ */
+tSCC zAix_Rwlock_Initializer_1Name[] =
+ "aix_rwlock_initializer_1";
+
+/*
+ * File name selection pattern
+ */
+tSCC zAix_Rwlock_Initializer_1List[] =
+ "pthread.h\0";
+/*
+ * Machine/OS name selection pattern
+ */
+tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
+ "*-*-aix*",
+ (const char*)NULL };
+
+/*
+ * content selection pattern - do fix if pattern found
+ */
+tSCC zAix_Rwlock_Initializer_1Select0[] =
+ "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
+\\{ \\\\\n";
+
+#define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
+static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
+ { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
+
+/*
+ * Fix Command Arguments for Aix_Rwlock_Initializer_1
+ */
+static const char* apzAix_Rwlock_Initializer_1Patch[] = {
+ "format",
+ "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
+{{ \\\n",
+ (char*)NULL };
+
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Pthread fix
*
* List of all fixes
*/
-#define REGEX_COUNT 255
+#define REGEX_COUNT 258
#define MACH_LIST_SIZE_LIMIT 181
-#define FIX_COUNT 212
+#define FIX_COUNT 215
/*
* Enumerate the fixes
AIX_NET_IF_ARP_FIXIDX,
AIX_ONCE_INIT_1_FIXIDX,
AIX_ONCE_INIT_2_FIXIDX,
+ AIX_MUTEX_INITIALIZER_1_FIXIDX,
+ AIX_COND_INITIALIZER_1_FIXIDX,
+ AIX_RWLOCK_INITIALIZER_1_FIXIDX,
AIX_PTHREAD_FIXIDX,
AIX_STDINT_1_FIXIDX,
AIX_STDINT_2_FIXIDX,
AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
+ { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
+ apzAix_Mutex_Initializer_1Machs,
+ AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
+ aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
+
+ { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
+ apzAix_Cond_Initializer_1Machs,
+ AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
+ aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
+
+ { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
+ apzAix_Rwlock_Initializer_1Machs,
+ AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
+ aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
+
{ zAix_PthreadName, zAix_PthreadList,
apzAix_PthreadMachs,
AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,