aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Korb <bkorb@gnu.org>2003-05-03 22:48:59 +0000
committerBruce Korb <korbb@gcc.gnu.org>2003-05-03 22:48:59 +0000
commit8882ac3a647747b3cd1a7010196b282419568932 (patch)
tree464b1366ac622433f00e5ab0e9fc4f84effeabbf
parentbd879e9a0064cd7d1363a60cc655613bfb5a8547 (diff)
downloadgcc-8882ac3a647747b3cd1a7010196b282419568932.zip
gcc-8882ac3a647747b3cd1a7010196b282419568932.tar.gz
gcc-8882ac3a647747b3cd1a7010196b282419568932.tar.bz2
force merge conflicts in fixincl.x + placement fix
From-SVN: r66439
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/fixinc/fixincl.tpl14
-rw-r--r--gcc/fixinc/fixincl.x112
-rw-r--r--gcc/fixinc/inclhack.def40
4 files changed, 96 insertions, 76 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 17e1f40..0401c86 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2003-05-03 Bruce Korb <bkorb@gnu.org>
+
+ * gcc/fixinc/fixincl.tpl(dne): restore this to force merge conflicts
+ in fixincl.x
+ * gcc/fixinc/inclhack.def(bsd_stdio_attrs_conflict): fix placement
+
2003-05-03 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.h: Remove unecessary casts. Misc cleanups.
diff --git a/gcc/fixinc/fixincl.tpl b/gcc/fixinc/fixincl.tpl
index e8aefd0..420b11d 100644
--- a/gcc/fixinc/fixincl.tpl
+++ b/gcc/fixinc/fixincl.tpl
@@ -1,11 +1,15 @@
[= AutoGen5 Template -*- Mode: C -*-
x=fixincl.x =]
-/*
- * DO NOT EDIT THIS FILE - it has been generated
+[= (dne " * " "/* ")=]
+ */
+/* DO NOT CVS-MERGE THIS FILE, EITHER [=`date`=]
+ *
+ * You must regenerate it. Use the ./genfixes script.
+ *
*
- * Install modified versions of 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 is part of the fixincl program used to install modified versions of
+ * 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 [=(count "fix")=] fixup descriptions.
*
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x
index 5b623b9..c315594 100644
--- a/gcc/fixinc/fixincl.x
+++ b/gcc/fixinc/fixincl.x
@@ -1,9 +1,19 @@
-/*
- * DO NOT EDIT THIS FILE - it has been generated
+/* -*- buffer-read-only: t -*- vi: set ro:
+ *
+ * DO NOT EDIT THIS FILE (fixincl.x)
+ *
+ * It has been AutoGen-ed Saturday May 3, 2003 at 03:55:13 PM PDT
+ * From the definitions inclhack.def
+ * and the template file fixincl
+ */
+/* DO NOT CVS-MERGE THIS FILE, EITHER Sat May 3 15:55:13 PDT 2003
+ *
+ * You must regenerate it. Use the ./genfixes script.
*
- * Install modified versions of 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 is part of the fixincl program used to install modified versions of
+ * 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 152 fixup descriptions.
*
@@ -1115,46 +1125,6 @@ static const char* apzBadquotePatch[] = {
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
- * Description of Bsd_Stdio_Attrs_Conflict fix
- */
-tSCC zBsd_Stdio_Attrs_ConflictName[] =
- "bsd_stdio_attrs_conflict";
-
-/*
- * File name selection pattern
- */
-tSCC zBsd_Stdio_Attrs_ConflictList[] =
- "|stdio.h|";
-/*
- * Machine/OS name selection pattern
- */
-tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
- "*-*-*bsd*",
- "*-*-*darwin*",
- (const char*)NULL };
-
-/*
- * content selection pattern - do fix if pattern found
- */
-tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
- "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
-
-#define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
-static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
- { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
-
-/*
- * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
- */
-static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
- "format",
- "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
-#define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
-int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
- (char*)NULL };
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * *
- *
* Description of Broken_Assert_Stdio fix
*/
tSCC zBroken_Assert_StdioName[] =
@@ -1277,6 +1247,46 @@ static const char* apzBroken_CabsPatch[] = {
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
+ * Description of Bsd_Stdio_Attrs_Conflict fix
+ */
+tSCC zBsd_Stdio_Attrs_ConflictName[] =
+ "bsd_stdio_attrs_conflict";
+
+/*
+ * File name selection pattern
+ */
+tSCC zBsd_Stdio_Attrs_ConflictList[] =
+ "|stdio.h|";
+/*
+ * Machine/OS name selection pattern
+ */
+tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
+ "*-*-*bsd*",
+ "*-*-*darwin*",
+ (const char*)NULL };
+
+/*
+ * content selection pattern - do fix if pattern found
+ */
+tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
+ "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
+
+#define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
+static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
+ { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
+
+/*
+ * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
+ */
+static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
+ "format",
+ "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
+#define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
+int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
+ (char*)NULL };
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * *
+ *
* Description of Ctrl_Quotes_Def fix
*/
tSCC zCtrl_Quotes_DefName[] =
@@ -6027,10 +6037,10 @@ typedef enum {
BAD_LVAL_FIXIDX,
BAD_STRUCT_TERM_FIXIDX,
BADQUOTE_FIXIDX,
- BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
BROKEN_ASSERT_STDIO_FIXIDX,
BROKEN_ASSERT_STDLIB_FIXIDX,
BROKEN_CABS_FIXIDX,
+ BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
CTRL_QUOTES_DEF_FIXIDX,
CTRL_QUOTES_USE_FIXIDX,
CXX_UNREADY_FIXIDX,
@@ -6282,11 +6292,6 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aBadquoteTests, apzBadquotePatch, 0 },
- { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
- apzBsd_Stdio_Attrs_ConflictMachs,
- BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
- aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
-
{ zBroken_Assert_StdioName, zBroken_Assert_StdioList,
apzBroken_Assert_StdioMachs,
BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
@@ -6302,6 +6307,11 @@ tFixDesc fixDescList[ FIX_COUNT ] = {
BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aBroken_CabsTests, apzBroken_CabsPatch, 0 },
+ { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
+ apzBsd_Stdio_Attrs_ConflictMachs,
+ BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
+ aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
+
{ zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
apzCtrl_Quotes_DefMachs,
CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index ad389f5..39b33cb 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -721,26 +721,6 @@ fix = {
/*
- * Various systems derived from BSD4.4 contain a macro definition
- * for vfscanf that interacts badly with requirements of builtin-attrs.def.
- * Known to be fixed in FreeBSD 5 system headers.
- */
-fix = {
- hackname = bsd_stdio_attrs_conflict;
- mach = *-*-*bsd*;
- mach = *-*-*darwin*;
- files = stdio.h;
- select = "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
- c_fix = format;
- c_fix_arg = '#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)' "\n"
- '#define _BSD_STRINGX(_BSD_X) #_BSD_X' "\n"
- 'int vfscanf(FILE *, const char *, __builtin_va_list) '
- '__asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) "__svfscanf");';
- test_text = '#define vfscanf __svfscanf';
-};
-
-
-/*
* check for broken assert.h that needs stdio.h
*/
fix = {
@@ -796,6 +776,26 @@ fix = {
/*
+ * Various systems derived from BSD4.4 contain a macro definition
+ * for vfscanf that interacts badly with requirements of builtin-attrs.def.
+ * Known to be fixed in FreeBSD 5 system headers.
+ */
+fix = {
+ hackname = bsd_stdio_attrs_conflict;
+ mach = *-*-*bsd*;
+ mach = *-*-*darwin*;
+ files = stdio.h;
+ select = "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
+ c_fix = format;
+ c_fix_arg = '#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)' "\n"
+ '#define _BSD_STRINGX(_BSD_X) #_BSD_X' "\n"
+ 'int vfscanf(FILE *, const char *, __builtin_va_list) '
+ '__asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) "__svfscanf");';
+ test_text = '#define vfscanf __svfscanf';
+};
+
+
+/*
* Fix various macros used to define ioctl numbers.
* The traditional syntax was:
*