OSDN Git Service

gcc:
[pf3gnuchains/gcc-fork.git] / fixincludes / ChangeLog
1 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2
3         * inclhack.def (aix_stdint_1): Add stdint-aix.h to files.
4         (aix_stdint_2): Likewise.
5         (aix_stdint_3): Likewise.
6         (aix_stdint_4): Likewise.
7         (aix_stdint_5): Likewise.
8         (darwin_stdint_1): Add stdint-darwin.h to files.
9         (darwin_stdint_2): Likewise.
10         (darwin_stdint_3): Likewise.
11         (darwin_stdint_4): Likewise.
12         (darwin_stdint_5): Likewise.
13         (darwin_stdint_6): Likewise.
14         (darwin_stdint_7): Likewise.
15         (hpux_c99_intptr): Add stdint-hpux11.h to files.
16         (hpux_c99_inttypes): Likewise.
17         (hpux_c99_inttypes2): Likewise.
18         (hpux_stdint_least_fast): Likewise.
19         (irix_stdint_c99): Renamed to irix_stdint_c99_mode.
20         (irix_stdint_c99_types): New fix.
21         (irix_stdint_c99_macros): New fix.
22         (newlib_stdint_1): Add stdint-newlib.h to files.
23         (newlib_stdint_2): Likewise.
24         fixincl.x: Regenerate.
25         tests/base/stdint-aix.h: New file.
26         tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK,
27         AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ...
28         tests/base/stdint-aix.h: ... here.
29         [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix.
30         [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix.
31         [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix.
32         tests/base/stdint-darwin.h: New file.
33         tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK,
34         DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK,
35         DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ...
36         tests/base/stdint-darwin.h: ... here.
37         [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix.
38         [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix.
39         [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix.
40         tests/base/stdint-hpux11.h: New file.
41         tests/base/stdint.h [HPUX_C99_INTPTR_CHECK,
42         HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ...
43         tests/base/stdint-hpux11.h: ... here.
44         [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix.
45         [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix.
46         tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to
47         IRIX_STDINT_C99_MODE_CHECK.
48         tests/base/stdint-irix65.h: New file.
49         tests/base/stdint-newlib.h: New file.
50         tests/base/stdint.h [NEWLIB_STDINT_1_CHECK,
51         NEWLIB_STDINT_2_CHECK]: Moved ...
52         tests/base/stdint-newlib.h: ... here.
53
54 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
55
56         * configure: Regenerate.
57
58 2009-10-21  Steve Ellcey  <sje@cup.hp.com>
59
60         * inclhack.def (hpux_stdint_least_fast): Simplify.
61         * fixincl.x: Regenerate.
62         * tests/base/stdint.h: Update.
63
64 2009-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
65
66         * inclhack.def (isc_fmod, isc_omits_with_stdc)
67         (nested_sys_limits, sco_math): Remove.
68         * tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
69         * tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
70         * tests/base/sys/limits.h: Remove.
71         * fixincl.x: Regenerate.
72
73 2009-09-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
74
75         PR testsuite/29737
76         PR bootstrap/35938
77         PR testsuite/39655
78         * check.tpl: Fix typos.
79         * README: Likewise.  Also, document that 'select' uses ERE.
80         * mkheaders.in: Update copyright years in --version output.
81         * inclhack.def (sco_math): Add missing final newline in sed
82         script 'a', 'c', or 'i' commands, for BSD sed.
83         (sco_math): In the text of 'a', 'c', or 'i' sed
84         commands, prepend leading white space with a backslash to avoid
85         the whitespace to be removed by BSD sed.
86         (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
87         (x11_new): Fix sed expression, for BSD sed.
88         (glibc_mutex_init): Fix newlines in sed 's' command replacement
89         part, for GNU sed 3.02 and Solaris sed.
90         (glibc_mutex_init): Replace unportable \+ sed regex operator
91         with \{1,\}.
92         (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
93         alternation \| regex operator.
94         (solaris_complex): Remove superfluous backslashes from
95         replacement string.  Replace \+ operator with \{1,\}.
96         * tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
97         * fixincl.x: Regenerate.
98
99 2009-09-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
100
101         PR libfortran/41169
102         * inclhack.def (irix_complex): New fix.
103         (solaris_complex): Likewise.
104         * fixincl.x: Regenerate.
105         * tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
106         New tests.
107
108 2009-08-28   Bruce Korb <bkorb@gnu.org>
109              Steve Ellcey  <sje@cup.hp.com>
110
111         * README (files): Describe files entry.
112         * inclhack.def (hpux_stdint_least): Remove.
113         (hpux_stdint_fast): Remove.
114         (hpux_stdint_fast): Remove.
115         (hpux_stdint_least_fast): New.
116         (hpux_inttype_int_least8_t): Remove.
117         (hpux_inttype_int8_t): Modify.
118         * fixincl.x: Regenerate.
119         * tests/base/stdint.h: Update.
120         * tests/base/sys/_inttypes.h: Update.
121
122 2009-08-28  Steve Ellcey  <sje@cup.hp.com>
123
124         * inclhack.def (hpux_imaginary_i): Remove spaces.
125         * fixincl.x: Regenerate.
126         * tests/base/stdint.h: Update AIX fixes. 
127         * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
128
129 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
130
131         * configure.ac (AC_PREREQ): Bump to 2.64.
132
133 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
134
135         * aclocal.m4: Regenerate.
136         * configure: Regenerate.
137         * config.h.in: Regenerate.
138
139 2009-08-17  David Edelsohn  <edelsohn@gnu.org>
140
141         * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
142         redefine I.
143         * (aix_stdint_[12345]): New fixes.
144         * fixincl.x: Regenerate.
145         * tests/base/complex.h: Update check.
146         * tests/base/stdint.h: Add AIX stdint.h checks.
147
148 2009-08-14  Steve Ellcey  <sje@cup.hp.com>
149
150         * inclhack.def (hpux_imaginary_i): New fix.
151         * fixincl.x: Regenerate.
152         * tests/base/complex.h: New file.
153
154 2009-08-12  David Edelsohn  <edelsohn@gnu.org>
155
156         * inclhack.def (aix_complex): New fix.
157         * fixincl.x: Regenerate.
158         
159 2009-08-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
160
161         * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
162         (hpux_inttype_int8_t): Likewise.
163         * fixincl.x: Regenerate.
164
165 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
166
167         * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
168         New variables.
169         ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
170         Use them.
171
172 2009-07-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
173
174         * inclhack.def (darwin_stdint_5, darwin_stdint_6,
175         darwin_stdint_7): New fixes.
176         * fixincl.x: Regenerate.
177         * tests/base/stdint.h: Adjust test for new fixes.
178
179 2009-07-03  Eric Botcazou  <ebotcazou@adacore.com>
180
181         * inclhack.def (solaris_int_types): New fix.
182         * fixincl.x: Regenerate.
183         * tests/base/sys/int_types.h: New file.
184
185 2009-06-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
186
187         * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
188         darwin_stdint_4): New fixes.
189         * tests/base/stdint.h: Adjust test results for new fixes.
190         * fixincl.x: Regenerate.
191
192 2009-05-29  Eric Botcazou  <ebotcazou@adacore.com>
193
194         * inclhack.def (solaris_int_const): New fix.
195         (solaris_int_limits_1): Likewise.
196         (solaris_int_limits_2): Likewise.
197         * fixincl.x: Regenerate.
198         * tests/base/sys/int_const.h: New file.
199         * tests/base/sys/int_limits.h: Likewise.
200
201 2009-05-15  Joseph Myers  <joseph@codesourcery.com>
202
203         * inclhack.def (glibc_tgmath): Correct bypass.
204         * fixincl.x: Regenerate.
205
206 2009-04-28  Steve Ellcey  <sje@cup.hp.com>
207
208         * inclhack.def (hpux11_uint32_c): Remove.
209         (hpux_long_double): Disable on hpux11.3*.
210         (hpux_long_double_2): New.
211         (hpux_c99_intptr): New.
212         (hpux_c99_inttypes): New.
213         (hpux_c99_inttypes2): New.
214         (hpux_stdint_least): New.
215         (hpux_stdint_fast): New.
216         (hpux_inttype_int_least8_t): New.
217         (hpux_inttype_int8_t): New.
218         * fixincl.x: Regenerate.
219         * tests/base/sys/_inttypes.h: New.
220         * tests/base/inttypes.h: Update.
221         * tests/base/stdlib.h: Update.
222         * tests/base/stdint.h: Update.
223
224 2009-04-28  Joseph Myers  <joseph@codesourcery.com>
225
226         * inclhack.def (glibc_stdint): New fix.
227         * fixincl.x: Regenerate.
228         * tests/base/stdint.h: Update.
229
230 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
231
232         * Makefile.in: Change copyright header to refer to version
233         3 of the GNU General Public License and to point readers at the
234         COPYING3 file and the FSF's license web page.
235         * fixfixes.c: Likewise.
236         * fixinc.in: Likewise.
237         * fixincl.c: Likewise.
238         * fixlib.c: Likewise.
239         * fixlib.h: Likewise.
240         * fixopts.c: Likewise.
241         * fixtests.c: Likewise.
242         * genfixes: Likewise.
243         * mkheaders.in: Likewise.
244         * system.h: Likewise.
245
246 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
247
248         PR c/448
249         * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
250         * fixincl.x: Regenerate.
251         * tests/base/stdint.h: Update.
252
253 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
254
255         * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
256         Update.
257
258 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
259
260         PR c/456
261         PR c/5675
262         PR c/19976
263         PR c/29116
264         PR c/31871
265         PR c/35198
266         * inclhack.def (glibc_tgmath): New fix.
267         * fixincl.x: Regenerate.
268         * tests/base/tgmath.h: New.
269
270 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
271
272         * inclhack.def (aix_syswait, exception_structure,
273         pthread_page_size): Remove.
274         (math_exception): Remove mention of fixproto in comment.
275         * fixincl.x: Regenerate.
276         * mkheaders.in: Do not handle STMP_FIXPROTO.
277
278 2009-03-27  Sandra Loosemore  <sandra@codesourcery.com>
279
280         * server.c (run_shell): Quote directory name passed to cd.
281
282 2009-03-01  Bruce Korb  <bkorb@gnu.org>
283         Apply a positively ancient patch:
284
285         2004-10-15  Giovanni Bajo  <giovannibajo@libero.it>
286
287         * inclhack.def (alpha_if_semicolon): new fix from long, long ago
288         * tests/base/net/if.h: Add new test.
289
290 2009-01-06  Andreas Tobler  <a.tobler@schweiz.org>
291
292         * tests/base/locale.h: Add new test.
293         * tests/base/stdarg.h: Likewise.
294
295 2009-01-05  Steve Ellcey  <sje@cup.hp.com>
296
297         * inclhack.def (hpux_spu_info):  Add files line.
298         * fixincl.x: Regenerate.
299
300 2009-01-01  Andreas Tobler  <a.tobler@schweiz.org>
301
302         * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
303         in case of C.
304         * fixincl.x: Regenerate.
305
306 2008-12-31  Andreas Tobler  <a.tobler@schweiz.org>
307
308         PR target/35460
309         * inclhack.def (openbsd_va_start): Use __builtin_va_start
310         for OpenBSD.
311         * fixincl.x: Regenerate.
312
313 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
314
315         * configure: Regenerate.
316
317 2008-12-15  Steve Ellcey  <sje@cup.hp.com>
318
319         * inclhack.def (hpux_spu_info): Match PA as well as IA64.
320         * fixincl.x: Regenerate.
321
322 2008-09-06  H.J. Lu  <hongjiu.lu@intel.com>
323
324         * configure.ac: Fix a typo.
325         * configured: Regenerate.
326
327 2008-09-06  Bruce Korb  <bkorb@gnu.org>
328
329         * fixincl.tpl (sed): make the program executable configurable.
330         Some platforms have some rather oddball defaults.
331         * config.h.in (SED_PROGRAM): define the default sed.
332         * fixincl.x: regenerated
333         * tests/base/internal/wchar_core.h: fix bad sample text
334         * tests/base/math.h: fix bad sample text
335         * configure.ac: search for working sed
336         * inclhack.def (glibc_mutex_init): fix non-portable construct
337         and re-order a few misordered entries.
338
339 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
340
341         * configure: Regenerate.
342
343 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
344
345         * inclhack.def (AAB_svr4_replace_byteorder,
346         AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
347         libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
348         ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
349         solaris_mutex_init_1, solaris_socket, solaris_unistd,
350         solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
351         ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
352         ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
353         ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
354         ultrix_strings2, ultrix_sys_time, ultrix_unistd,
355         unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
356         windiss_math2, windiss_valist): Remove.
357         * fixincl.x: Regenerate.
358         * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
359         i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
360         powerpc-*-eabiaix*): Remove.
361         * tests/base/math.h: Update.
362         * tests/base/pthread.h: Update.
363         * tests/base/stdio.h: Update.
364         * tests/base/stdlib.h: Update.
365         * tests/base/string.h: Update.
366         * tests/base/strings.h: Update.
367         * tests/base/sys/file.h: Update.
368         * tests/base/sys/limits.h: Update.
369         * tests/base/sys/socket.h: Update.
370         * tests/base/sys/stat.h: Update.
371         * tests/base/sys/time.h: Update.
372         * tests/base/testing.h: Update.
373         * tests/base/unistd.h: Update.
374         * tests/base/_G_config.h: Remove.
375         * tests/base/arpa: Remove directory.
376         * tests/base/fs: Remove directory.
377         * tests/base/locale.h: Remove.
378         * tests/base/machine: Remove directory.
379         * tests/base/rpc/svc.h: Remove.
380         * tests/base/sys/ioctl.h: Remove.
381         * tests/base/sys/regset.h: Remove.
382         * tests/base/sys/times.h: Remove.
383         * tests/base/sys/utsname.h: Remove.
384         * tests/base/widec.h: Remove.
385
386 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
387
388         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
389         * tests/base/iso/math_c99.h: Update.
390         * fixincl.x: Regenerate.
391
392 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
393
394         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
395         posix_types_64.
396         * fixincl.x: Regenerate.
397
398 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
399
400         * fixincl.c (fix_with_system): Cast pointer difference to long.
401         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
402
403 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
404
405         PR bootstrap/35457
406         * Makefile.in: Rewrite aclocal.m4 rule.
407         * aclocal.m4: Regenerate.
408         * configure: Regenerate.
409
410 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
411
412         PR c++/20366
413         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
414         * fixincl.x: Regenerate.
415         * tests/base/stdio.h: Add test.
416
417 2008-02-25  Ben Elliston  <bje@au.ibm.com>
418
419         PR other/32948
420         * fixincl.c (fix_applies): Remove unused variable `name_len'.
421
422 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
423
424         * inclhack.def (solaris_math_10): New.
425         * tests/base/iso/math_c99.h: Update.
426
427         * fixincl.x: Regenerate.
428
429 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
430
431         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
432         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
433         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
434         quotes around mach entries.
435         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
436         to GPLv3.
437
438 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
439
440         PR other/31405
441         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
442         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
443         __extern_inline|__GNU_STDC_INLINE__.
444         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
445         <bypass>: Change from __STDC_VERSION__ to
446         __extern_inline|__GNU_STDC_INLINE__.
447         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
448         appending attribute-gnu_inline.
449         <second c_fix_arg>: Remove.
450         <test_text>: Remove __extern_inline line.
451         * tests/base/features.h: Re-add.
452         * tests/base/sys/sysmacros.h: Adjust.
453         * fixincl.x: Regenerate.
454
455 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
456
457         Revert last change.
458
459 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
460
461         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
462         * fixincl.x: Regenerate.
463         * tests/base/wchar.h: Update.
464         * tests/base/features.h: New.
465
466 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
467
468         PR target/33700
469         * inclhack.def (hpux11_pthread_const): New.
470         * fixincl.x: Regenerate.
471         * tests/base/sys/pthread.h: Update.
472
473 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
474
475         * configure.ac: x86_64 mingw target uses twoprocess.
476         * mkfixinc.sh: Add x86_64 mingw target.
477         * configure: Regenerate.
478
479 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
480
481         * inclhack.def (darwin_externc): New.
482         * fixincl.x: Regenerate.
483         * tests/base/mach-o/swap.h: New.
484
485 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
486
487         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
488         Delete fixes.
489         * tests/base/iso/math_c99.h: Delete associated test baselines.
490         * fixincl.x: Regenerate.
491
492 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
493
494         PR target/30058
495         * inclhack.def (netbsd_c99_inline_2): New.
496         * fixincl.x: Regenerate.
497         * tests/base/signal.h: Update.
498
499 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
500
501         PR target/32641
502
503         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
504         solaris_math_7): Constify and make FP exception-safe.
505         * tests/base/iso/math_c99.h: Update.
506
507         * fixincl.x: Regenerate.
508
509 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
510
511         PR libgcj/28190
512         * inclhack.def (irix_stdint_c99): New fix.
513         * fixincl.x: Regenerate.
514         * tests/base/stdint.h: New test.
515
516 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
517
518         PR testsuite/31828
519         * inclhack.def (hppa_hpux_fp_macros): New.
520         * fixincl.x: Regenerate.
521         * tests/base/math.h: Update.
522
523 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
524
525         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
526         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
527         __STDC_VERSION__ < 199901L.
528         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
529         with #ifdef __GNUC_GNU_INLINE__.
530         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
531         with defined(__GNUC_STDC_INLINE__).
532         (glibc_c99_inline_4): Change select, add second c_fix_arg.
533         Replace #if __STDC_VERSION__ < 199901L with
534         #ifdef __GNUC_GNU_INLINE__.
535         * fixincl.x: Regenerated.
536         * tests/base/bits/string2.h: Update.
537         * tests/base/sys/sysmacros.h: Update.
538         * tests/base/sys/stat.h: Update.
539
540 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
541
542         PR target/30058
543         * inclhack.def (netbsd_c99_inline_1): New.
544         * fixincl.x: Regenerate.
545         * tests/base/signal.h: New.
546
547 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
548
549         * Makefile.in: Add dummy "install-info" target.
550
551 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
552
553         * mkheaders.in: Fix headers for each multilib required.
554
555 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
556
557         * Makefile.in: Add dummy install-pdf target.
558
559 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
560
561         * mkheaders.in (incdir): Use include-fixed not include.
562
563 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
564
565         * Makefile.in: Added "pdf" target to .PHONY.
566
567 2007-02-05  Richard Guenther  <rguenther@suse.de>
568
569         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
570         with older glibc.  Adjust version number for C99.
571         * fixincl.x: Regenerated.
572
573 2007-02-04  Mike Stump  <mrs@apple.com>
574
575         * mkheaders.in: Allow optional isysroot parameter.
576
577 2007-02-03  Bruce Korb <bkorb@gnu.org>
578
579         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
580         surrounded by space characters.
581
582 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
583
584         PR target/30272
585         * inclhack.def(broken_cabs): Also remove definition of cabsl.
586         * fixincl.x: Regenerate.
587         * tests/base/math.h: Update.
588
589 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
590             Daniel Franke <franke.daniel@gmail.com>
591
592         PR target/30008
593         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
594         of a vertical bar ("|").
595         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
596         matching.  Set SKIP_TEST flag if we are not to run a test.
597         * fixincl.x: Regenerate.
598         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
599         kandr_concat, sco_math): Replace lists of specfic file names by search
600         patterns.
601
602 2006-12-12  Olivier Hainque  <hainque@adacore.com>
603
604         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
605         targets for which a no-op fixer is appropriate.
606         
607 2006-11-07  Richard Guenther  <rguenther@suse.de>
608
609         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
610         systems.
611         * fixincl.x: Regenerate.
612
613 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
614
615         * inclhack.def (glibc_c99_inline_1): New.
616         * inclhack.def (glibc_c99_inline_2): New.
617         * inclhack.def (glibc_c99_inline_3): New.
618         * inclhack.def (glibc_c99_inline_4): New.
619         * fixincl.x: Regenerate.
620         * tests/base/bits/string2.h: New.
621         * tests/base/sys/sysmacros.h: New.
622         * tests/base/sys/stat.h: Update.
623
624 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
625
626         * tests/base/sys/socket.h: Update.
627
628 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
629
630         * inclhack.def (hpux11_extern_sendfile): New.
631         (hpux11_extern_sendpath): New.
632         * fixincl.x: Regenerate.
633
634 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
635
636         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
637         * fixincl.x: Regenerate.
638
639 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
640
641         * Makefile.in: Added empty "pdf" target.
642
643 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
644
645         PR target/29300
646         * inclhack.def (hpux_pthread_initializers): New hack.
647         * tests/base/sys/pthread.h: New file.
648
649         * fixincl.x: Regenerate.
650
651 2006-10-03  Uros Bizjak <uros@kss-loka.si>
652
653         * inclhack.def (glibc_mutex_init): Also fix
654         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
655         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
656         * tests/base/pthread.h: Update.
657
658         * fixincl.x: Regenerate.
659
660 2006-10-01  Uros Bizjak <uros@kss-loka.si>
661
662         * inclhack.def (glibc_mutex_init): New fix.
663         * tests/base/pthread.h: Update.
664
665         * fixincl.x: Regenerate.
666
667 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
668
669         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
670         Prevent it from running on solaris10 or later.
671         (solaris_once_init_2): Fix comment.
672         * tests/base/pthread.h: Update.
673
674         * fixincl.x: Regenerate.
675
676 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
677
678         * inclhack.def (solaris_once_init_2): New fix.
679         * tests/base/pthread.h: Update.
680
681         * fixincl.x: Regenerate.
682
683 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
684
685         * inclhack.def (solaris_mutex_init_2): Remove test for
686         PTHREAD_RWLOCK_INITIALIZER.
687         (solaris_rwlock_init_1): New.
688         * tests/base/pthread.h: Update.
689
690         * inclhack.def (solaris_once_init_1): New.
691         * tests/base/pthread.h: Adjust for new fix.
692         
693         * fixincl.x: Regenerate.
694
695 2006-07-17  Roger Sayle  <roger@eyesopen.com>
696
697         * tests/base/errno.h: New file.
698         * tests/base/architecture/ppc/math.h: Likewise.
699         * tests/base/ia64/sys/getppdp.h: Likewise.
700
701 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
702
703         PR bootstrap/20437
704         * Makefile.in (configure, config.h.in): Change into $(srcdir)
705         before autoconf or autoheader call.
706
707 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
708
709         PR target/28084
710         * inclhack.def (hpux_extern_errno): New.
711         * fixincl.x: Regenerate.
712
713 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
714
715         * Makefile.in: Add dvi info html and install-html to .PHONY
716         Add install-html target.
717
718 2006-05-16  Mike Stump  <mrs@apple.com>
719
720         * configure.ac: Add -Wno-overlength-strings.
721         * configure: Regenerate.
722
723 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
724
725         * README: Fix typo.
726
727 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
728
729         PR target/26189
730         * inclhack.def (hpux_spu_info): New.
731         * fixincl.x: Regenerate
732
733 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
734
735         * configure.ac: Check for asprintf, basename, vasprintf.
736         * config.h.in: Regenerate.
737         * configure: Regenerate.
738
739 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
740
741         PR target/15642
742         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
743         __APPLE_CC_ as 1345.
744         (broken_nan): New.
745         * fixincl.x: Regenerate.
746
747 2005-11-24  Bruce Korb  <bkorb@gnu.org>
748
749         * fixincl.c (write_replacement): "here strings" in AutoGen
750         often/generally don't have a terminating newline.  Check the
751         last byte for '\n'.
752
753 2005-11-13  Andreas Jaeger  <aj@suse.de>
754
755         * check.tpl: Handle CVS additionally.
756
757 2005-11-05  Andreas Jaeger  <aj@suse.de>
758
759         * check.tpl: Adopt for move to subversion.
760
761 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
762
763         PR c++/23139
764         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
765         fixes.
766         * fixincl.x: Regenerate.
767         * tests/base/bits/huge_val.h: New file.
768
769 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
770
771         * All files: Update with new FSF address.
772
773 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
774
775         * Makefile.in (WARN_CFLAGS): New.
776         (.c.o): Add $(WARN_CFLAGS).
777         * aclocal.m4: Include ../config/warnings.m4.
778         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
779         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
780         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
781         * fixopts.c (initialize_opts): Fix old-style definintion.
782
783         * configure: Regenerate.
784
785 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
786
787         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
788         (AAB_darwin7_9_long_double_funcs_2): New.
789         * fixincl.x: Regenerate.
790
791 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
792
793         PR libfortran/15266
794         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
795         Use double quotes in select so \t matches tabs.
796         Add IRIX testcase.
797         * fixincl.x: Regenerate.
798         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
799
800 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
801
802         PR target/21683
803         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
804
805 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
806             Joseph S. Myers  <joseph@codesourcery.com>
807
808         PR target/19933
809         PR target/21315
810         * inclhack.def: New fixes solaris_math_[1-9].
811         * fixincl.x: Regenerate.
812         * tests/base/iso/math_c99.h: New.
813
814 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
815
816         * aclocal.m4: Remove superfluous reference to accross.m4.
817
818 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
819
820         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
821         * server.c (load_data): Likewise.
822         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
823         * fixincl.c: #include <sys/wait.h>
824         (run_compiles): Use XCNEWVEC instead of xcalloc.
825         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
826         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
827
828 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
829
830         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
831         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
832         * fixincl.x: Regenerate.
833
834 2005-05-06  Bruce Korb  <bkorb@gnu.org>
835         Joseph S. Myers <joseph@codesourcery.com>
836
837         * fixinc/inclhack.def: Correct backslashes
838         * fixinc/fixincl.x: regen
839
840 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
841
842         * system.h (fopen, fdopen, freopen): Define these to the unlocked
843         libiberty functions.
844
845 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
846
847         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
848         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
849         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
850         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
851         _unlocked function.
852         (fwrite_unlocked): Fix prototype.
853
854         * configure, config.h.in: Regenerate.
855
856 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
857
858         * Makefile.in: Set gcc_version directly, not via substitution.
859         (libsubdir): Use $(gcc_version), not $(version).
860         (mkheaders.almost): New rule.
861         (mkheaders): Generate from mkheaders.almost.
862         (clean): Also delete mkheaders.almost.
863         * aclocal.m4: Do not include ../config/gcc-version.m4.
864         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
865         mkheaders.almost from mkheaders.in.
866         * configure: Regenerate.
867
868 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
869
870         PR target/20166
871         * inclhack.def: Add fix for array of incomplete structures
872         in function prototype in pthread.h.
873         * fixincl.x: Regenerate.
874         * tests/base/pthread.h: Adjust.
875
876 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
877
878         * inclhack.def (hpux_htonl): New fix.
879         * tests/base/netinet/in.h: New test.
880         * fixincl.x: Regenerate.
881
882 2005-02-23  James E Wilson  <wilson@specifixinc.com>
883
884         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
885
886 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
887
888         PR 18458
889         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
890         fixincl.
891
892 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
893
894         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
895         * aclocal.m4: Include ../config/gcc-version.m4.
896         * configure: Regenerate.
897
898 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
899
900         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
901         (stdio_va_list): Likewise.
902         (stdio_stdarg.h): Likewise.
903         (solaris_stdio_tag): Add bypass.
904         * fixincl.x: Regenerated.
905
906 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
907
908         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
909         built fixincl program.
910         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
911         up csh from user.
912
913 2004-11-20  Roger Sayle  <roger@eyesopen.com>
914
915         * inclhack.def (alpha_pthread_init): Fix technical problems with
916         the last check-in caused by CVS variable substitution.
917         * fixincl.x: Likewise.
918         * tests/base/pthread.h: Likewise.
919
920 2004-11-20  Roger Sayle  <roger@eyesopen.com>
921             Bruce Korb  <bkorb@gnu.org>
922
923         * inclhack.def (alpha_pthread_init): New fix.
924         * fixincl.x: Regenerate.
925         * tests/base/pthread.h: Update for new test.
926
927 2004-11-15  Bruce Korb  <bkorb@gnu.org>
928
929         * fixincl.c(fix_with_system): correct misuse of variables and
930         incorrect application of "sizeof()".
931
932 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
933
934         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
935         svr4__p, undefine_null): Remove.
936         * fixincl.x: Regenerate.
937         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
938         * tests/base/sys/param.h: Remove.
939         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
940         tests/base/sys/limits.h: Update.
941
942 2004-11-12  Mike Stump  <mrs@apple.com>
943
944         * Makefile.in (html): Add html generation support.
945
946 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
947
948         * inclhack.def (sco_math): Bypass on __GNUG__.
949         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
950         * fixincl.x: Regenerate.
951
952 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
953
954         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
955         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
956         _CLASSIC_ANSI_TYPES.
957         (sun_auth_proto): Bypass on __cplusplus.
958         * fixincl.x: Regenerate.
959
960 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
961
962         * Makefile.in (mostlyclean): Add fixinc.sh.
963         (clean): Add mkheaders.
964         (distclean): New.
965         (dvi): New.
966         (info): New.
967         (installcheck): New.
968
969 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
970
971         * Makefile.in (mostlyclean, distclean): New targets.
972
973 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
974
975         * configure.ac: Add code to determine noncanonical_target,
976         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
977         * configure: Regenerate.
978         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
979         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
980         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
981         update for changes to fixinc.in.
982         * Makefile.in: Add many new macros.
983         (install): New target.
984         (mkheaders): New target.
985         (fixinc.sh): New target.
986         (all): Add mkheaders and fixinc.sh.
987         * README-fixinc: Move here from gcc/.
988
989 2004-11-01  Mike Stump  <mrs@apple.com>
990
991         * inclhack.def (stdio_va_list): Break out clients from here...
992         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
993         included or ifdef va_start.
994         * fixincl.x: Regenerate.
995
996 2004-10-28  Mike Stump  <mrs@apple.com>
997
998         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
999         systems.
1000         * fixincl.x: Regenerate.
1001
1002 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
1003
1004         * inclhack.def (darwin_gcc4_breakage): New.
1005         * fixincl.x: Regenerate.
1006
1007 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1008
1009         PR bootstrap/17832
1010
1011         * fixfixes.c (main): Check for _PC_NAME_MAX.
1012
1013 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
1014
1015         PR other/17991
1016
1017         * configure.ac: Fix typo.
1018         * configure: Regenerate.
1019         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
1020
1021 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1022
1023         PR bootstrap/17832
1024
1025         * fixincl.c (SIGCHLD): Remove definition.
1026         (initialize): Remove SIGIOT and SIGPIPE checks.
1027         (create_file): Fix mkdir() for Win32.
1028         (internal_fix): Use dup2() instead of fcntl().
1029
1030         * fixlib.h (SIGQUIT): Define if undefined.
1031         (SIGIOT): Same.
1032         (SIGPIPE): Same.
1033         (SIGALRM): Same.
1034         (SIGKILL): Same.
1035
1036         * procopen.c (chain_open): Use dup2() instead of fcntl().
1037
1038 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
1039
1040         PR other/17991
1041
1042         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
1043         Update copyright year.
1044         * fixfixes.c (main): Call initialize_opts from fixopts.c.
1045         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
1046         do not include code for parsing options (environment vars).
1047         (fix_with_system): Use a search path for applyfix, so that you
1048         can run the test suite with two-process fixincludes.
1049         * fixopts.c: New file.
1050         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
1051         to config.h.  Default to --enable-twoprocess for MinGW32.
1052         * config.h.in: Regenerate.
1053         * configure: Regenerate.
1054
1055 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1056
1057         * tests/base/sys/cdefs.h: Update from test area.
1058
1059 2004-09-17  Roger Sayle  <roger@eyesopen.com>
1060
1061         * inclhack.def (linux_ia64_ucontext): New fix.
1062         * fixincl.x: Regenerate.
1063         * tests/base/sys/ucontext.h: New file.
1064
1065 2004-09-15  Roger Sayle  <roger@eyesopen.com>
1066
1067         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
1068         * tests/base/stdlib.h: Likewise.
1069
1070 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
1071
1072         * inclhack.def (freebsd_gcc4_breakage): Add.
1073         * fixincl.x: Regenerate.
1074         * tests/base/sys/cdefs.h: Update for new test.
1075
1076 2004-09-10  Adam Nemet  <anemet@lnxw.com>
1077
1078         * inclhack.def (lynx_void_int): Remove.
1079         (lynxos_fcntl_proto): Remove.
1080         (lynxos_no_warning_in_sys_time_h): New fix.
1081         (lynxos_missing_putenv): New fix.
1082         * fixincl.x: Regenerate.
1083         * tests/base/fcntl.h: Remove.
1084         * tests/base/sys/time.h: Update from test area.
1085         * tests/base/curses.h: Likewise.
1086         * tests/base/stdlib.h: Likewise.
1087
1088 2004-09-03  Jan Beulich  <jbeulich@novell.com>
1089
1090         * inclhack.def: Suppress exception_structure and math_exception
1091         for NetWare headers.
1092         * fixincl.x: Regenerate.
1093
1094 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
1095
1096         * .cvsignore: New.
1097         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
1098         autoconfiscated.
1099         * configure.ac: New.
1100         * config.h.in: Generate.
1101         * configure: Generate.
1102         * aclocal.m4: New.
1103         * fixlib.h: Remove inclusions of gcc files.
1104         * system.h: New.
1105
1106         Other files copied from gcc/fixinc.