aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/fixincl.x
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2012-03-23 23:55:01 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2012-03-23 19:55:01 -0400
commit3c59ab0d677abcbdf3d0fdee31dfdf5033edd141 (patch)
treef3b1689604dee80aff915fe030f37ef1229e195c /fixincludes/fixincl.x
parent03934a56326d43c1c8bb185979a90830fd25f880 (diff)
downloadgcc-3c59ab0d677abcbdf3d0fdee31dfdf5033edd141.zip
gcc-3c59ab0d677abcbdf3d0fdee31dfdf5033edd141.tar.gz
gcc-3c59ab0d677abcbdf3d0fdee31dfdf5033edd141.tar.bz2
inclhack.def (aix_malloc): New.
* inclhack.def (aix_malloc): New. * fixincl.x: Regenerate. * tests/base/malloc.h [AIX_MALLOC_CHECK]: New. From-SVN: r185752
Diffstat (limited to 'fixincludes/fixincl.x')
-rw-r--r--fixincludes/fixincl.x53
1 files changed, 48 insertions, 5 deletions
diff --git a/fixincludes/fixincl.x b/fixincludes/fixincl.x
index b6a804d..3dbb744 100644
--- a/fixincludes/fixincl.x
+++ b/fixincludes/fixincl.x
@@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
- * It has been AutoGen-ed Wednesday March 14, 2012 at 03:19:50 PM MET
+ * It has been AutoGen-ed March 23, 2012 at 02:26:20 PM by AutoGen 5.10
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT SVN-MERGE THIS FILE, EITHER Wed Mar 14 15:19:50 MET 2012
+/* DO NOT SVN-MERGE THIS FILE, EITHER Fri Mar 23 14:26:20 EDT 2012
*
* You must regenerate it. Use the ./genfixes script.
*
@@ -15,7 +15,7 @@
* 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 211 fixup descriptions.
+ * This file contains 212 fixup descriptions.
*
* See README for more information.
*
@@ -522,6 +522,43 @@ static const char* apzAix_ComplexPatch[] = {
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
+ * Description of Aix_Malloc fix
+ */
+tSCC zAix_MallocName[] =
+ "aix_malloc";
+
+/*
+ * File name selection pattern
+ */
+tSCC zAix_MallocList[] =
+ "malloc.h\0";
+/*
+ * Machine/OS name selection pattern
+ */
+tSCC* apzAix_MallocMachs[] = {
+ "*-*-aix*",
+ (const char*)NULL };
+
+/*
+ * content selection pattern - do fix if pattern found
+ */
+tSCC zAix_MallocSelect0[] =
+ "#ifdef __cplusplus";
+
+#define AIX_MALLOC_TEST_CT 1
+static tTestDesc aAix_MallocTests[] = {
+ { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
+
+/*
+ * Fix Command Arguments for Aix_Malloc
+ */
+static const char* apzAix_MallocPatch[] = {
+ "format",
+ "#if (defined(__cplusplus) && defined(__IBMCPP__))",
+ (char*)NULL };
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * *
+ *
* Description of Aix_Net_If_Arp fix
*/
tSCC zAix_Net_If_ArpName[] =
@@ -8592,9 +8629,9 @@ static const char* apzX11_SprintfPatch[] = {
*
* List of all fixes
*/
-#define REGEX_COUNT 254
+#define REGEX_COUNT 255
#define MACH_LIST_SIZE_LIMIT 181
-#define FIX_COUNT 211
+#define FIX_COUNT 212
/*
* Enumerate the fixes
@@ -8609,6 +8646,7 @@ typedef enum {
AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
AAB_SUN_MEMCPY_FIXIDX,
AIX_COMPLEX_FIXIDX,
+ AIX_MALLOC_FIXIDX,
AIX_NET_IF_ARP_FIXIDX,
AIX_ONCE_INIT_1_FIXIDX,
AIX_ONCE_INIT_2_FIXIDX,
@@ -8859,6 +8897,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aAix_ComplexTests, apzAix_ComplexPatch, 0 },
+ { zAix_MallocName, zAix_MallocList,
+ apzAix_MallocMachs,
+ AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
+ aAix_MallocTests, apzAix_MallocPatch, 0 },
+
{ zAix_Net_If_ArpName, zAix_Net_If_ArpList,
apzAix_Net_If_ArpMachs,
AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,