init.c (build_new_1): Do not check for arithmetic overflow if inner array size is 1.
[official-gcc.git] / fixincludes / ChangeLog
blob99d0f02656314a2d057b4c42d7f0cabffdacf870
1 2012-10-29  Bruce Korb  <bkorb@gnu.org>
3         * README: testing wrap and replacement fixes is pointless.
4         * fixincl.c: export verbosity enumerations to fixlib.h
5         (run_compiles): mark replacement fixes to be skipped when
6         in testing mode
7         * fixlib.h: add a test mode and enumerations from fixincl.c
8         * check.tpl: set TEST_MODE in environment
9         * fixopts.c (initialize_opts): check for TEST_MODE in environment
10         * inclhack.def: move AAB_darwin7_9_long_double_funcs to
11         darwin_9_long_double_funcs_2.  It is not a replacement fix.
12         * fixincl.x: regenerate
13         * tests/base/ioLib.h: the need for this is now exposed, so add it.
14         * tests/base/architecture/ppc/math.h: the correct result is now needed.
16 2012-10-29  Robert Mason  <rbmj@verizon.net>
18         * fixinc.in: Omit machine name checks for vxworks
19         * fixincludes/inclhack.def (AAB_vxworks_assert) new replacement fix
20         (AAB_vxworks_regs_vxtypes): another
21         (AAB_vxworks_stdint): yet another
22         (AAB_vxworks_unistd): and another
23         (vxworks_ioctl_macro): reformatting fix
24         (vxworks_mkdir_macro): again
25         (vxworks_regs): and again
26         (vxworks_write_const): and again
27         * tests/base/ioLib.h: new test result
28         * tests/base/math.h: likewise
29         * tests/base/sys/stat.h: likewise
30         * tests/base/testing.h: and again
32 2012-09-29  David Edelsohn  <dje.gcc@gmail.com>
34         * inclhack.def (AAB_aix_fcntl): New fix.
35         * fixincl.x: Regenerate.
37 2012-06-19  David Edelsohn  <dje.gcc@gmail.com>
39         * inclhack.def (aix_mutex_initializer_1): New fix.
40         (aix_cond_initializer_1): New fix.
41         (aix_rwlock_initializer): New fix.
42         * fixincl.x: Regenerate.
43         * tests/base/pthread.h [AIX_MUTEX_INITIALIZER_1_CHECK]: New.
44         [AIX_COND_INITIALIZER_1_CHECK]: New.
45         [AIX_RWLOCK_INITIALIZER_1_CHECK]: New.
47 2012-05-29  Thomas Schwinge  <thomas@codesourcery.com>
49         * configure.ac: Use GCC_AC_FUNC_MMAP_BLACKLIST instead of
50         gcc_AC_FUNC_MMAP_BLACKLIST.
51         * Makefile.in (ACLOCAL_AMFLAGS): Don't include ../gcc.
52         * aclocal.m4: Regenerate.
53         * configure: Regenerate.
55 2012-04-24  Tristan Gingold  <gingold@adacore.com>
57         * fixincl.c (fix_with_system): Add missing specifier.
58         * configure.ac: Default to twoprocess on vms.
59         * configure: Regenerate.
61 2012-03-23  David Edelsohn  <dje.gcc@gmail.com>
63         * inclhack.def (aix_malloc): New.
64         * fixincl.x: Regenerate.
65         * tests/base/malloc.h [AIX_MALLOC_CHECK]: New.
67 2012-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
69         PR other/52626
70         * tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK]
71         (PTHREAD_COND_INITIALIZER): Adapt for solaris_cond_init removal.
73 2012-03-15  Tristan Gingold  <gingold@adacore.com>
75         * README (EXAMPLES OF FIXES): Update.
77 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
79         * inclhack.def (math_exception): Remove duplicate.
80         (solaris_cond_init): Remove.
81         (solaris_sys_va_list): Remove Solaris 8 support.
82         * fixincl.x: Regenerate.
83         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: Remove.
85 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
87         * inclhack.def (broken_cabs): Remove IRIX and SunOS 4 support.
88         (irix___restrict): Remove.
89         (irix___generic1): Remove.
90         (irix___generic2): Remove.
91         (irix_asm_apostrophe): Remove.
92         (irix_complex): Remove.
93         (irix_pthread_init): Remove.
94         (irix_socklen_t): Remove.
95         (irix_stdint_c99_mode): Remove.
96         (irix_stdint_c99_types): Remove.
97         (irix_stdint_c99_macros): Remove.
98         (irix_stdio_va_list): Remove IRIX 6.5 support.
99         (irix_wcsftime): Remove.
100         (stdio_va_list): Remove IRIX 6.5 support.
101         (svr4_profil): Remove IRIX bypass.
102         * fixincl.x: Regenerate.
104         * tests/base/complex.h [IRIX_COMPLEX_CHECK]: Remove.
105         * tests/base/internal/math_core.h: Remove.
106         * tests/base/internal/sgimacros.h: Remove.
107         * tests/base/internal/wchar_core.h: Remove.
108         * tests/base/math.h [BROKEN_CABS_CHECK]: Remove IRIX and SunOS 4
109         support.
110         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: Remove.
111         * tests/base/stdint-irix65.h: Remove.
112         * tests/base/stdint.h [IRIX_STDINT_C99_MODE_CHECK]: Remove.
113         * tests/base/sys/asm.h: Remove.
114         * tests/base/sys/socket.h [IRIX_SOCKLEN_T_CHECK]: Remove.
116 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
118         * inclhack.def (alpha___extern_prefix): Remove.
119         (alpha___extern_prefix_standards): Remove.
120         (alpha___extern_prefix_sys_stat): Remove.
121         (alpha_bad_lval): Remove.
122         (alpha_pthread): Remove.
123         (alpha_pthread_gcc): Remove.
124         (alpha_pthread_init): Remove.
125         * fixincl.x: Regenerate.
126         * tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: Remove.
127         [ALPHA_PTHREAD_GCC_CHECK]: Remove.
128         [ALPHA_PTHREAD_INIT_CHECK]: Remove.
129         * tests/base/standards.h: Remove.
130         * tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK]:
131         Remove.
132         * tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: Remove.
133         [ALPHA_BAD_LVAL_CHECK]: Remove.
135 2012-03-12  Tristan Gingold  <gingold@adacore.com>
137         * inclhack.def (vms_use_quoted_include,vms_add_missing_braces)
138         (vms_do_not_redeclare_hostalias, vms_decc_builtin)
139         (vms_no_64bit_getopt, vms_forward_declare_struct)
140         (vms_use_fast_setjmp): New fixes.
141         * fixincl.x: Regenerate.
142         * tests/base/rtldef/string.h: Update.
143         * tests/base/rtldef/if.h, tests/base/rtldef/resolv.h,
144         * tests/base/rtldef/setjmp.h, tests/base/rtldef/signal.h,
145         * tests/base/rtldef/stdio.h, tests/base/rtldef/wait.h: New files.
147 2012-01-11  Bruce Korb <bkorb@gnu.org>
148             Steven G. Kargl  <kargl@gcc.gnu.org>
149             Andreas Tobler  <andreast@fgznet.ch>
151         PR bootstrap/51705
152         PR preprocessor/51776
153         * inclhack.def (cdef_cplusplus): Add a replacement for [[noreturn]].
154         * fixincl.x: Regenerate.
155         * tests/base/sys/cdefs.h: Update.
157         * genfixes: Remove the 'Ver.' from the version check.
159 2011-12-20  Andreas Schwab  <schwab@linux-m68k.org>
161         * configure: Regenerate.
163 2011-12-19  Andreas Schwab  <schwab@linux-m68k.org>
165         * configure: Regenerate.
167 2011-11-16  David Edelsohn  <dje.gcc@gmail.com>
169         * inclhack.def (aix_once_init_[12]): New fixes.
170         * fixincl.x: Regenerate.
171         * tests/base/pthread.h: Update.
173 2011-10-25  Mike Stump  <mikestump@comcast.net>
175         PR target/48851
176         * inclhack.def (void_null): New bypass.
177         * fixincl.x: Regenerate.
179 2011-09-26  Tristan Gingold  <gingold@adacore.com>
181         * inclhack.def (ms_define_can_use_extern_prefix):
182         (vms_use_pragma_extern_model, vms_disable_decc_string_builtins):
183         New fixes.
184         * fixincl.x: Regenerate.
185         * tests/base/rtldef/string.h: New test.
186         * tests/base/rtldef/decc$types.h: Likewise.
187         * tests/base/testing.h: Update
189 2011-09-22  Tristan Gingold  <gingold@adacore.com>
191         * mkfixinc.sh (target): Remove alpha-vms from particular targets.
193 2011-08-23  Steve Ellcey  <sje@cup.hp.com>
195         PR libstdc++/50153
196         * inclhack.def (hpux11_abs): Extend to all hpux machines.
197         * fixincl.x: Regenerate.
199 2011-08-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
200             Marc Glisse  <marc.glisse@normalesup.org>
202         PR libstdc++-v3/1773
203         * inclhack.def (solaris_cxx_linkage, solaris_getc_strict_stdc)
204         (solaris_longjmp_noreturn, solaris_pow_int_overload)
205         (solaris_std___filbuf): New fixes.
206         * tests/base/iso/math_iso.h, tests/base/iso/setjmp_iso.h,
207         tests/base/iso/stdio_iso.h, tests/base/iso/stdlib_iso.h: New tests.
208         * tests/base/stdio.h [SOLARIS_STD___FILBUF_CHECK]: New test.
210 2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
212         PR c++/49347
213         * inclhack.def (solaris_posix_spawn_restrict): New fix.
214         * fixincl.x: Regenerate.
215         * tests/base/spawn.h: New test.
217 2011-06-08  Douglas B Rupp  <rupp@gnat.com>
219         * configure.ac (AC_USE_SYSTEM_EXTENSIONS): Add.
220         * configure: Regenerate.
221         * config.h.in: Regenerate.
223 2011-06-06  Peter O'Gorman  <pogma@thewrittenword.com>
225         * inclhack.def (aix_net_if_arp): New fix.
226         * fixincl.x: Regenerate.
227         * tests/base/net/if_arp.h [AIX_NET_IF_ARP_CHECK]: New test.
229 2011-05-17  Tristan Gingold  <gingold@adacore.com>
231         * inclhack.def (solaris_complex_cxx): Fix syntax.
232         * fixincl.x: Regenerate.
234 2011-05-17  Tristan Gingold  <gingold@adacore.com>
236         * check.tpl: Shell-quote testing file.
238 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
240         * mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
242 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
244         PR other/46202
245         * Makefile.in (install-strip): New phony target.
246         (all, check, install): Also mark as phony.
248 2010-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
250         * inclhack.def (irix_pthread_init): New fix.
251         * fixincl.x: Regenerate.
252         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: New test.
254 2010-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
256         PR c++/46024
257         * inclhack.def (solaris_sys_va_list): New fix.
258         * fixincl.x: Regenerate.
259         * tests/base/sys/va_list.h: New test.
261 2010-09-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
263         * inclhack.def (hpux_htonl): Allow trailing whitespace in select.
264         * fixincl.x: Regenerate.
266 2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
268         * inclhack.def (solaris_cond_init): New fix.
269         * fixincl.x: Regenerate.
270         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: New test.
271         [SOLARIS_MUTEX_INIT_2_CHECK]: Adapt.
273 2010-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
275         * inclhack.def (solaris__restrict, solaris_complex_cxx): New fixes
276         * fixincl.x: Regenerate.
277         * tests/base/complex.h [SOLARIS_COMPLEX_CXX_CHECK]: New test.
278         * tests/base/sys/feature_tests.h: New file.
280 2010-06-03  Joern Rennecke <joern.rennecke@embecosm.com>
281             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
283         PR bootstrap/42798
284         * configure.ac: Check for declaration of 'basename(char *)'.
285         * configure: Regenerate.
287 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
289         * inclhack.def (alpha_wchar): Remove.
290         * fixincl.x: Regenerate.
291         * tests/base/wchar.h: Remove.
293 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
295         * aclocal.m4: Regenerate.
297 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
299         * inclhack.def (alpha_assert): Allow for more whitespace in
300         select.
301         * fixincl.x: Regenerate.
303 2010-03-28  H.J. Lu  <hongjiu.lu@intel.com>
305         PR target/40722
306         * mkfixinc.sh: Revert the last change for mingw.
308 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
310         * inclhack.def (glibc_strncpy): New fix.
311         * fixincl.x: Regenerate.
312         * tests/base/bits/string2.h: Update.
314 2010-03-23  H.J. Lu  <hongjiu.lu@intel.com>
316         PR target/40722
317         * mkfixinc.sh: Fix stdlib.h for mingw.
319 2010-02-19  Bruce Korb  <bkorb@gnu.org>
321         * inclhack.def: remove vestiges of inadvertently committed changes
323 2010-02-10  Bruce Korb  <bkorb@gnu.org>
325         * README: fix up references to old gcc/fixinc directory
327 2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
329         * inclhack.def (solaris_int_limits_3): New fix.
330         * fixincl.x: Regenerate.
331         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
332         test.
334         * inclhack.def (solaris_int_const, solaris_int_limits_1,
335         solaris_int_limits_2 ): Applies to Solaris 2 in general.
336         Remove select.
337         Add mach for *-*-solaris2*.
338         Change second c_fix_arg to select.
339         Remove #pragma ident from test_text.
340         * fixincl.x: Regenerate.
341         * tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
342         #pragma trigger text.
343         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
344         SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
346 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
348         * inclhack.def (aix_stdint_1): Add stdint-aix.h to files.
349         (aix_stdint_2): Likewise.
350         (aix_stdint_3): Likewise.
351         (aix_stdint_4): Likewise.
352         (aix_stdint_5): Likewise.
353         (darwin_stdint_1): Add stdint-darwin.h to files.
354         (darwin_stdint_2): Likewise.
355         (darwin_stdint_3): Likewise.
356         (darwin_stdint_4): Likewise.
357         (darwin_stdint_5): Likewise.
358         (darwin_stdint_6): Likewise.
359         (darwin_stdint_7): Likewise.
360         (hpux_c99_intptr): Add stdint-hpux11.h to files.
361         (hpux_c99_inttypes): Likewise.
362         (hpux_c99_inttypes2): Likewise.
363         (hpux_stdint_least_fast): Likewise.
364         (irix_stdint_c99): Renamed to irix_stdint_c99_mode.
365         (irix_stdint_c99_types): New fix.
366         (irix_stdint_c99_macros): New fix.
367         (newlib_stdint_1): Add stdint-newlib.h to files.
368         (newlib_stdint_2): Likewise.
369         fixincl.x: Regenerate.
370         tests/base/stdint-aix.h: New file.
371         tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK,
372         AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ...
373         tests/base/stdint-aix.h: ... here.
374         [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix.
375         [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix.
376         [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix.
377         tests/base/stdint-darwin.h: New file.
378         tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK,
379         DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK,
380         DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ...
381         tests/base/stdint-darwin.h: ... here.
382         [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix.
383         [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix.
384         [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix.
385         tests/base/stdint-hpux11.h: New file.
386         tests/base/stdint.h [HPUX_C99_INTPTR_CHECK,
387         HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ...
388         tests/base/stdint-hpux11.h: ... here.
389         [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix.
390         [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix.
391         tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to
392         IRIX_STDINT_C99_MODE_CHECK.
393         tests/base/stdint-irix65.h: New file.
394         tests/base/stdint-newlib.h: New file.
395         tests/base/stdint.h [NEWLIB_STDINT_1_CHECK,
396         NEWLIB_STDINT_2_CHECK]: Moved ...
397         tests/base/stdint-newlib.h: ... here.
399 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
401         * configure: Regenerate.
403 2009-10-21  Steve Ellcey  <sje@cup.hp.com>
405         * inclhack.def (hpux_stdint_least_fast): Simplify.
406         * fixincl.x: Regenerate.
407         * tests/base/stdint.h: Update.
409 2009-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
411         * inclhack.def (isc_fmod, isc_omits_with_stdc)
412         (nested_sys_limits, sco_math): Remove.
413         * tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
414         * tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
415         * tests/base/sys/limits.h: Remove.
416         * fixincl.x: Regenerate.
418 2009-09-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
420         PR testsuite/29737
421         PR bootstrap/35938
422         PR testsuite/39655
423         * check.tpl: Fix typos.
424         * README: Likewise.  Also, document that 'select' uses ERE.
425         * mkheaders.in: Update copyright years in --version output.
426         * inclhack.def (sco_math): Add missing final newline in sed
427         script 'a', 'c', or 'i' commands, for BSD sed.
428         (sco_math): In the text of 'a', 'c', or 'i' sed
429         commands, prepend leading white space with a backslash to avoid
430         the whitespace to be removed by BSD sed.
431         (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
432         (x11_new): Fix sed expression, for BSD sed.
433         (glibc_mutex_init): Fix newlines in sed 's' command replacement
434         part, for GNU sed 3.02 and Solaris sed.
435         (glibc_mutex_init): Replace unportable \+ sed regex operator
436         with \{1,\}.
437         (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
438         alternation \| regex operator.
439         (solaris_complex): Remove superfluous backslashes from
440         replacement string.  Replace \+ operator with \{1,\}.
441         * tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
442         * fixincl.x: Regenerate.
444 2009-09-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
446         PR libfortran/41169
447         * inclhack.def (irix_complex): New fix.
448         (solaris_complex): Likewise.
449         * fixincl.x: Regenerate.
450         * tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
451         New tests.
453 2009-08-28   Bruce Korb <bkorb@gnu.org>
454              Steve Ellcey  <sje@cup.hp.com>
456         * README (files): Describe files entry.
457         * inclhack.def (hpux_stdint_least): Remove.
458         (hpux_stdint_fast): Remove.
459         (hpux_stdint_fast): Remove.
460         (hpux_stdint_least_fast): New.
461         (hpux_inttype_int_least8_t): Remove.
462         (hpux_inttype_int8_t): Modify.
463         * fixincl.x: Regenerate.
464         * tests/base/stdint.h: Update.
465         * tests/base/sys/_inttypes.h: Update.
467 2009-08-28  Steve Ellcey  <sje@cup.hp.com>
469         * inclhack.def (hpux_imaginary_i): Remove spaces.
470         * fixincl.x: Regenerate.
471         * tests/base/stdint.h: Update AIX fixes. 
472         * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
474 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
476         * configure.ac (AC_PREREQ): Bump to 2.64.
478 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
480         * aclocal.m4: Regenerate.
481         * configure: Regenerate.
482         * config.h.in: Regenerate.
484 2009-08-17  David Edelsohn  <edelsohn@gnu.org>
486         * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
487         redefine I.
488         * (aix_stdint_[12345]): New fixes.
489         * fixincl.x: Regenerate.
490         * tests/base/complex.h: Update check.
491         * tests/base/stdint.h: Add AIX stdint.h checks.
493 2009-08-14  Steve Ellcey  <sje@cup.hp.com>
495         * inclhack.def (hpux_imaginary_i): New fix.
496         * fixincl.x: Regenerate.
497         * tests/base/complex.h: New file.
499 2009-08-12  David Edelsohn  <edelsohn@gnu.org>
501         * inclhack.def (aix_complex): New fix.
502         * fixincl.x: Regenerate.
504 2009-08-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
506         * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
507         (hpux_inttype_int8_t): Likewise.
508         * fixincl.x: Regenerate.
510 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
512         * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
513         New variables.
514         ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
515         Use them.
517 2009-07-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
519         * inclhack.def (darwin_stdint_5, darwin_stdint_6,
520         darwin_stdint_7): New fixes.
521         * fixincl.x: Regenerate.
522         * tests/base/stdint.h: Adjust test for new fixes.
524 2009-07-03  Eric Botcazou  <ebotcazou@adacore.com>
526         * inclhack.def (solaris_int_types): New fix.
527         * fixincl.x: Regenerate.
528         * tests/base/sys/int_types.h: New file.
530 2009-06-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
532         * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
533         darwin_stdint_4): New fixes.
534         * tests/base/stdint.h: Adjust test results for new fixes.
535         * fixincl.x: Regenerate.
537 2009-05-29  Eric Botcazou  <ebotcazou@adacore.com>
539         * inclhack.def (solaris_int_const): New fix.
540         (solaris_int_limits_1): Likewise.
541         (solaris_int_limits_2): Likewise.
542         * fixincl.x: Regenerate.
543         * tests/base/sys/int_const.h: New file.
544         * tests/base/sys/int_limits.h: Likewise.
546 2009-05-15  Joseph Myers  <joseph@codesourcery.com>
548         * inclhack.def (glibc_tgmath): Correct bypass.
549         * fixincl.x: Regenerate.
551 2009-04-28  Steve Ellcey  <sje@cup.hp.com>
553         * inclhack.def (hpux11_uint32_c): Remove.
554         (hpux_long_double): Disable on hpux11.3*.
555         (hpux_long_double_2): New.
556         (hpux_c99_intptr): New.
557         (hpux_c99_inttypes): New.
558         (hpux_c99_inttypes2): New.
559         (hpux_stdint_least): New.
560         (hpux_stdint_fast): New.
561         (hpux_inttype_int_least8_t): New.
562         (hpux_inttype_int8_t): New.
563         * fixincl.x: Regenerate.
564         * tests/base/sys/_inttypes.h: New.
565         * tests/base/inttypes.h: Update.
566         * tests/base/stdlib.h: Update.
567         * tests/base/stdint.h: Update.
569 2009-04-28  Joseph Myers  <joseph@codesourcery.com>
571         * inclhack.def (glibc_stdint): New fix.
572         * fixincl.x: Regenerate.
573         * tests/base/stdint.h: Update.
575 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
577         * Makefile.in: Change copyright header to refer to version
578         3 of the GNU General Public License and to point readers at the
579         COPYING3 file and the FSF's license web page.
580         * fixfixes.c: Likewise.
581         * fixinc.in: Likewise.
582         * fixincl.c: Likewise.
583         * fixlib.c: Likewise.
584         * fixlib.h: Likewise.
585         * fixopts.c: Likewise.
586         * fixtests.c: Likewise.
587         * genfixes: Likewise.
588         * mkheaders.in: Likewise.
589         * system.h: Likewise.
591 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
593         PR c/448
594         * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
595         * fixincl.x: Regenerate.
596         * tests/base/stdint.h: Update.
598 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
600         * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
601         Update.
603 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
605         PR c/456
606         PR c/5675
607         PR c/19976
608         PR c/29116
609         PR c/31871
610         PR c/35198
611         * inclhack.def (glibc_tgmath): New fix.
612         * fixincl.x: Regenerate.
613         * tests/base/tgmath.h: New.
615 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
617         * inclhack.def (aix_syswait, exception_structure,
618         pthread_page_size): Remove.
619         (math_exception): Remove mention of fixproto in comment.
620         * fixincl.x: Regenerate.
621         * mkheaders.in: Do not handle STMP_FIXPROTO.
623 2009-03-27  Sandra Loosemore  <sandra@codesourcery.com>
625         * server.c (run_shell): Quote directory name passed to cd.
627 2009-03-01  Bruce Korb  <bkorb@gnu.org>
628         Apply a positively ancient patch:
630         2004-10-15  Giovanni Bajo  <giovannibajo@libero.it>
632         * inclhack.def (alpha_if_semicolon): new fix from long, long ago
633         * tests/base/net/if.h: Add new test.
635 2009-01-06  Andreas Tobler  <a.tobler@schweiz.org>
637         * tests/base/locale.h: Add new test.
638         * tests/base/stdarg.h: Likewise.
640 2009-01-05  Steve Ellcey  <sje@cup.hp.com>
642         * inclhack.def (hpux_spu_info):  Add files line.
643         * fixincl.x: Regenerate.
645 2009-01-01  Andreas Tobler  <a.tobler@schweiz.org>
647         * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
648         in case of C.
649         * fixincl.x: Regenerate.
651 2008-12-31  Andreas Tobler  <a.tobler@schweiz.org>
653         PR target/35460
654         * inclhack.def (openbsd_va_start): Use __builtin_va_start
655         for OpenBSD.
656         * fixincl.x: Regenerate.
658 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
660         * configure: Regenerate.
662 2008-12-15  Steve Ellcey  <sje@cup.hp.com>
664         * inclhack.def (hpux_spu_info): Match PA as well as IA64.
665         * fixincl.x: Regenerate.
667 2008-09-06  H.J. Lu  <hongjiu.lu@intel.com>
669         * configure.ac: Fix a typo.
670         * configured: Regenerate.
672 2008-09-06  Bruce Korb  <bkorb@gnu.org>
674         * fixincl.tpl (sed): make the program executable configurable.
675         Some platforms have some rather oddball defaults.
676         * config.h.in (SED_PROGRAM): define the default sed.
677         * fixincl.x: regenerated
678         * tests/base/internal/wchar_core.h: fix bad sample text
679         * tests/base/math.h: fix bad sample text
680         * configure.ac: search for working sed
681         * inclhack.def (glibc_mutex_init): fix non-portable construct
682         and re-order a few misordered entries.
684 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
686         * configure: Regenerate.
688 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
690         * inclhack.def (AAB_svr4_replace_byteorder,
691         AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
692         libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
693         ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
694         solaris_mutex_init_1, solaris_socket, solaris_unistd,
695         solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
696         ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
697         ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
698         ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
699         ultrix_strings2, ultrix_sys_time, ultrix_unistd,
700         unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
701         windiss_math2, windiss_valist): Remove.
702         * fixincl.x: Regenerate.
703         * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
704         i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
705         powerpc-*-eabiaix*): Remove.
706         * tests/base/math.h: Update.
707         * tests/base/pthread.h: Update.
708         * tests/base/stdio.h: Update.
709         * tests/base/stdlib.h: Update.
710         * tests/base/string.h: Update.
711         * tests/base/strings.h: Update.
712         * tests/base/sys/file.h: Update.
713         * tests/base/sys/limits.h: Update.
714         * tests/base/sys/socket.h: Update.
715         * tests/base/sys/stat.h: Update.
716         * tests/base/sys/time.h: Update.
717         * tests/base/testing.h: Update.
718         * tests/base/unistd.h: Update.
719         * tests/base/_G_config.h: Remove.
720         * tests/base/arpa: Remove directory.
721         * tests/base/fs: Remove directory.
722         * tests/base/locale.h: Remove.
723         * tests/base/machine: Remove directory.
724         * tests/base/rpc/svc.h: Remove.
725         * tests/base/sys/ioctl.h: Remove.
726         * tests/base/sys/regset.h: Remove.
727         * tests/base/sys/times.h: Remove.
728         * tests/base/sys/utsname.h: Remove.
729         * tests/base/widec.h: Remove.
731 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
733         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
734         * tests/base/iso/math_c99.h: Update.
735         * fixincl.x: Regenerate.
737 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
739         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
740         posix_types_64.
741         * fixincl.x: Regenerate.
743 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
745         * fixincl.c (fix_with_system): Cast pointer difference to long.
746         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
748 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
750         PR bootstrap/35457
751         * Makefile.in: Rewrite aclocal.m4 rule.
752         * aclocal.m4: Regenerate.
753         * configure: Regenerate.
755 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
757         PR c++/20366
758         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
759         * fixincl.x: Regenerate.
760         * tests/base/stdio.h: Add test.
762 2008-02-25  Ben Elliston  <bje@au.ibm.com>
764         PR other/32948
765         * fixincl.c (fix_applies): Remove unused variable `name_len'.
767 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
769         * inclhack.def (solaris_math_10): New.
770         * tests/base/iso/math_c99.h: Update.
772         * fixincl.x: Regenerate.
774 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
776         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
777         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
778         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
779         quotes around mach entries.
780         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
781         to GPLv3.
783 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
785         PR other/31405
786         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
787         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
788         __extern_inline|__GNU_STDC_INLINE__.
789         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
790         <bypass>: Change from __STDC_VERSION__ to
791         __extern_inline|__GNU_STDC_INLINE__.
792         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
793         appending attribute-gnu_inline.
794         <second c_fix_arg>: Remove.
795         <test_text>: Remove __extern_inline line.
796         * tests/base/features.h: Re-add.
797         * tests/base/sys/sysmacros.h: Adjust.
798         * fixincl.x: Regenerate.
800 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
802         Revert last change.
804 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
806         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
807         * fixincl.x: Regenerate.
808         * tests/base/wchar.h: Update.
809         * tests/base/features.h: New.
811 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
813         PR target/33700
814         * inclhack.def (hpux11_pthread_const): New.
815         * fixincl.x: Regenerate.
816         * tests/base/sys/pthread.h: Update.
818 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
820         * configure.ac: x86_64 mingw target uses twoprocess.
821         * mkfixinc.sh: Add x86_64 mingw target.
822         * configure: Regenerate.
824 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
826         * inclhack.def (darwin_externc): New.
827         * fixincl.x: Regenerate.
828         * tests/base/mach-o/swap.h: New.
830 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
832         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
833         Delete fixes.
834         * tests/base/iso/math_c99.h: Delete associated test baselines.
835         * fixincl.x: Regenerate.
837 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
839         PR target/30058
840         * inclhack.def (netbsd_c99_inline_2): New.
841         * fixincl.x: Regenerate.
842         * tests/base/signal.h: Update.
844 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
846         PR target/32641
848         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
849         solaris_math_7): Constify and make FP exception-safe.
850         * tests/base/iso/math_c99.h: Update.
852         * fixincl.x: Regenerate.
854 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
856         PR libgcj/28190
857         * inclhack.def (irix_stdint_c99): New fix.
858         * fixincl.x: Regenerate.
859         * tests/base/stdint.h: New test.
861 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
863         PR testsuite/31828
864         * inclhack.def (hppa_hpux_fp_macros): New.
865         * fixincl.x: Regenerate.
866         * tests/base/math.h: Update.
868 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
870         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
871         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
872         __STDC_VERSION__ < 199901L.
873         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
874         with #ifdef __GNUC_GNU_INLINE__.
875         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
876         with defined(__GNUC_STDC_INLINE__).
877         (glibc_c99_inline_4): Change select, add second c_fix_arg.
878         Replace #if __STDC_VERSION__ < 199901L with
879         #ifdef __GNUC_GNU_INLINE__.
880         * fixincl.x: Regenerated.
881         * tests/base/bits/string2.h: Update.
882         * tests/base/sys/sysmacros.h: Update.
883         * tests/base/sys/stat.h: Update.
885 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
887         PR target/30058
888         * inclhack.def (netbsd_c99_inline_1): New.
889         * fixincl.x: Regenerate.
890         * tests/base/signal.h: New.
892 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
894         * Makefile.in: Add dummy "install-info" target.
896 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
898         * mkheaders.in: Fix headers for each multilib required.
900 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
902         * Makefile.in: Add dummy install-pdf target.
904 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
906         * mkheaders.in (incdir): Use include-fixed not include.
908 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
910         * Makefile.in: Added "pdf" target to .PHONY.
912 2007-02-05  Richard Guenther  <rguenther@suse.de>
914         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
915         with older glibc.  Adjust version number for C99.
916         * fixincl.x: Regenerated.
918 2007-02-04  Mike Stump  <mrs@apple.com>
920         * mkheaders.in: Allow optional isysroot parameter.
922 2007-02-03  Bruce Korb <bkorb@gnu.org>
924         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
925         surrounded by space characters.
927 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
929         PR target/30272
930         * inclhack.def(broken_cabs): Also remove definition of cabsl.
931         * fixincl.x: Regenerate.
932         * tests/base/math.h: Update.
934 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
935             Daniel Franke <franke.daniel@gmail.com>
937         PR target/30008
938         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
939         of a vertical bar ("|").
940         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
941         matching.  Set SKIP_TEST flag if we are not to run a test.
942         * fixincl.x: Regenerate.
943         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
944         kandr_concat, sco_math): Replace lists of specfic file names by search
945         patterns.
947 2006-12-12  Olivier Hainque  <hainque@adacore.com>
949         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
950         targets for which a no-op fixer is appropriate.
952 2006-11-07  Richard Guenther  <rguenther@suse.de>
954         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
955         systems.
956         * fixincl.x: Regenerate.
958 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
960         * inclhack.def (glibc_c99_inline_1): New.
961         * inclhack.def (glibc_c99_inline_2): New.
962         * inclhack.def (glibc_c99_inline_3): New.
963         * inclhack.def (glibc_c99_inline_4): New.
964         * fixincl.x: Regenerate.
965         * tests/base/bits/string2.h: New.
966         * tests/base/sys/sysmacros.h: New.
967         * tests/base/sys/stat.h: Update.
969 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
971         * tests/base/sys/socket.h: Update.
973 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
975         * inclhack.def (hpux11_extern_sendfile): New.
976         (hpux11_extern_sendpath): New.
977         * fixincl.x: Regenerate.
979 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
981         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
982         * fixincl.x: Regenerate.
984 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
986         * Makefile.in: Added empty "pdf" target.
988 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
990         PR target/29300
991         * inclhack.def (hpux_pthread_initializers): New hack.
992         * tests/base/sys/pthread.h: New file.
994         * fixincl.x: Regenerate.
996 2006-10-03  Uros Bizjak <uros@kss-loka.si>
998         * inclhack.def (glibc_mutex_init): Also fix
999         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
1000         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
1001         * tests/base/pthread.h: Update.
1003         * fixincl.x: Regenerate.
1005 2006-10-01  Uros Bizjak <uros@kss-loka.si>
1007         * inclhack.def (glibc_mutex_init): New fix.
1008         * tests/base/pthread.h: Update.
1010         * fixincl.x: Regenerate.
1012 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1014         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
1015         Prevent it from running on solaris10 or later.
1016         (solaris_once_init_2): Fix comment.
1017         * tests/base/pthread.h: Update.
1019         * fixincl.x: Regenerate.
1021 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1023         * inclhack.def (solaris_once_init_2): New fix.
1024         * tests/base/pthread.h: Update.
1026         * fixincl.x: Regenerate.
1028 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1030         * inclhack.def (solaris_mutex_init_2): Remove test for
1031         PTHREAD_RWLOCK_INITIALIZER.
1032         (solaris_rwlock_init_1): New.
1033         * tests/base/pthread.h: Update.
1035         * inclhack.def (solaris_once_init_1): New.
1036         * tests/base/pthread.h: Adjust for new fix.
1038         * fixincl.x: Regenerate.
1040 2006-07-17  Roger Sayle  <roger@eyesopen.com>
1042         * tests/base/errno.h: New file.
1043         * tests/base/architecture/ppc/math.h: Likewise.
1044         * tests/base/ia64/sys/getppdp.h: Likewise.
1046 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
1048         PR bootstrap/20437
1049         * Makefile.in (configure, config.h.in): Change into $(srcdir)
1050         before autoconf or autoheader call.
1052 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
1054         PR target/28084
1055         * inclhack.def (hpux_extern_errno): New.
1056         * fixincl.x: Regenerate.
1058 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
1060         * Makefile.in: Add dvi info html and install-html to .PHONY
1061         Add install-html target.
1063 2006-05-16  Mike Stump  <mrs@apple.com>
1065         * configure.ac: Add -Wno-overlength-strings.
1066         * configure: Regenerate.
1068 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
1070         * README: Fix typo.
1072 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
1074         PR target/26189
1075         * inclhack.def (hpux_spu_info): New.
1076         * fixincl.x: Regenerate
1078 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
1080         * configure.ac: Check for asprintf, basename, vasprintf.
1081         * config.h.in: Regenerate.
1082         * configure: Regenerate.
1084 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
1086         PR target/15642
1087         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
1088         __APPLE_CC_ as 1345.
1089         (broken_nan): New.
1090         * fixincl.x: Regenerate.
1092 2005-11-24  Bruce Korb  <bkorb@gnu.org>
1094         * fixincl.c (write_replacement): "here strings" in AutoGen
1095         often/generally don't have a terminating newline.  Check the
1096         last byte for '\n'.
1098 2005-11-13  Andreas Jaeger  <aj@suse.de>
1100         * check.tpl: Handle CVS additionally.
1102 2005-11-05  Andreas Jaeger  <aj@suse.de>
1104         * check.tpl: Adopt for move to subversion.
1106 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
1108         PR c++/23139
1109         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
1110         fixes.
1111         * fixincl.x: Regenerate.
1112         * tests/base/bits/huge_val.h: New file.
1114 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
1116         * All files: Update with new FSF address.
1118 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1120         * Makefile.in (WARN_CFLAGS): New.
1121         (.c.o): Add $(WARN_CFLAGS).
1122         * aclocal.m4: Include ../config/warnings.m4.
1123         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
1124         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
1125         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
1126         * fixopts.c (initialize_opts): Fix old-style definintion.
1128         * configure: Regenerate.
1130 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
1132         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
1133         (AAB_darwin7_9_long_double_funcs_2): New.
1134         * fixincl.x: Regenerate.
1136 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1138         PR libfortran/15266
1139         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
1140         Use double quotes in select so \t matches tabs.
1141         Add IRIX testcase.
1142         * fixincl.x: Regenerate.
1143         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
1145 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
1147         PR target/21683
1148         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
1150 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
1151             Joseph S. Myers  <joseph@codesourcery.com>
1153         PR target/19933
1154         PR target/21315
1155         * inclhack.def: New fixes solaris_math_[1-9].
1156         * fixincl.x: Regenerate.
1157         * tests/base/iso/math_c99.h: New.
1159 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
1161         * aclocal.m4: Remove superfluous reference to accross.m4.
1163 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1165         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
1166         * server.c (load_data): Likewise.
1167         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
1168         * fixincl.c: #include <sys/wait.h>
1169         (run_compiles): Use XCNEWVEC instead of xcalloc.
1170         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
1171         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
1173 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
1175         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
1176         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
1177         * fixincl.x: Regenerate.
1179 2005-05-06  Bruce Korb  <bkorb@gnu.org>
1180         Joseph S. Myers <joseph@codesourcery.com>
1182         * fixinc/inclhack.def: Correct backslashes
1183         * fixinc/fixincl.x: regen
1185 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1187         * system.h (fopen, fdopen, freopen): Define these to the unlocked
1188         libiberty functions.
1190 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1192         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
1193         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
1194         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
1195         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
1196         _unlocked function.
1197         (fwrite_unlocked): Fix prototype.
1199         * configure, config.h.in: Regenerate.
1201 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
1203         * Makefile.in: Set gcc_version directly, not via substitution.
1204         (libsubdir): Use $(gcc_version), not $(version).
1205         (mkheaders.almost): New rule.
1206         (mkheaders): Generate from mkheaders.almost.
1207         (clean): Also delete mkheaders.almost.
1208         * aclocal.m4: Do not include ../config/gcc-version.m4.
1209         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
1210         mkheaders.almost from mkheaders.in.
1211         * configure: Regenerate.
1213 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
1215         PR target/20166
1216         * inclhack.def: Add fix for array of incomplete structures
1217         in function prototype in pthread.h.
1218         * fixincl.x: Regenerate.
1219         * tests/base/pthread.h: Adjust.
1221 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
1223         * inclhack.def (hpux_htonl): New fix.
1224         * tests/base/netinet/in.h: New test.
1225         * fixincl.x: Regenerate.
1227 2005-02-23  James E Wilson  <wilson@specifixinc.com>
1229         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
1231 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
1233         PR 18458
1234         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
1235         fixincl.
1237 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
1239         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1240         * aclocal.m4: Include ../config/gcc-version.m4.
1241         * configure: Regenerate.
1243 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
1245         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
1246         (stdio_va_list): Likewise.
1247         (stdio_stdarg.h): Likewise.
1248         (solaris_stdio_tag): Add bypass.
1249         * fixincl.x: Regenerated.
1251 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
1253         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
1254         built fixincl program.
1255         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
1256         up csh from user.
1258 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1260         * inclhack.def (alpha_pthread_init): Fix technical problems with
1261         the last check-in caused by CVS variable substitution.
1262         * fixincl.x: Likewise.
1263         * tests/base/pthread.h: Likewise.
1265 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1266             Bruce Korb  <bkorb@gnu.org>
1268         * inclhack.def (alpha_pthread_init): New fix.
1269         * fixincl.x: Regenerate.
1270         * tests/base/pthread.h: Update for new test.
1272 2004-11-15  Bruce Korb  <bkorb@gnu.org>
1274         * fixincl.c(fix_with_system): correct misuse of variables and
1275         incorrect application of "sizeof()".
1277 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
1279         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
1280         svr4__p, undefine_null): Remove.
1281         * fixincl.x: Regenerate.
1282         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
1283         * tests/base/sys/param.h: Remove.
1284         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
1285         tests/base/sys/limits.h: Update.
1287 2004-11-12  Mike Stump  <mrs@apple.com>
1289         * Makefile.in (html): Add html generation support.
1291 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
1293         * inclhack.def (sco_math): Bypass on __GNUG__.
1294         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
1295         * fixincl.x: Regenerate.
1297 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
1299         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
1300         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
1301         _CLASSIC_ANSI_TYPES.
1302         (sun_auth_proto): Bypass on __cplusplus.
1303         * fixincl.x: Regenerate.
1305 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
1307         * Makefile.in (mostlyclean): Add fixinc.sh.
1308         (clean): Add mkheaders.
1309         (distclean): New.
1310         (dvi): New.
1311         (info): New.
1312         (installcheck): New.
1314 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
1316         * Makefile.in (mostlyclean, distclean): New targets.
1318 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
1320         * configure.ac: Add code to determine noncanonical_target,
1321         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
1322         * configure: Regenerate.
1323         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
1324         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
1325         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
1326         update for changes to fixinc.in.
1327         * Makefile.in: Add many new macros.
1328         (install): New target.
1329         (mkheaders): New target.
1330         (fixinc.sh): New target.
1331         (all): Add mkheaders and fixinc.sh.
1332         * README-fixinc: Move here from gcc/.
1334 2004-11-01  Mike Stump  <mrs@apple.com>
1336         * inclhack.def (stdio_va_list): Break out clients from here...
1337         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
1338         included or ifdef va_start.
1339         * fixincl.x: Regenerate.
1341 2004-10-28  Mike Stump  <mrs@apple.com>
1343         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
1344         systems.
1345         * fixincl.x: Regenerate.
1347 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
1349         * inclhack.def (darwin_gcc4_breakage): New.
1350         * fixincl.x: Regenerate.
1352 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1354         PR bootstrap/17832
1356         * fixfixes.c (main): Check for _PC_NAME_MAX.
1358 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
1360         PR other/17991
1362         * configure.ac: Fix typo.
1363         * configure: Regenerate.
1364         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
1366 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1368         PR bootstrap/17832
1370         * fixincl.c (SIGCHLD): Remove definition.
1371         (initialize): Remove SIGIOT and SIGPIPE checks.
1372         (create_file): Fix mkdir() for Win32.
1373         (internal_fix): Use dup2() instead of fcntl().
1375         * fixlib.h (SIGQUIT): Define if undefined.
1376         (SIGIOT): Same.
1377         (SIGPIPE): Same.
1378         (SIGALRM): Same.
1379         (SIGKILL): Same.
1381         * procopen.c (chain_open): Use dup2() instead of fcntl().
1383 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
1385         PR other/17991
1387         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
1388         Update copyright year.
1389         * fixfixes.c (main): Call initialize_opts from fixopts.c.
1390         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
1391         do not include code for parsing options (environment vars).
1392         (fix_with_system): Use a search path for applyfix, so that you
1393         can run the test suite with two-process fixincludes.
1394         * fixopts.c: New file.
1395         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
1396         to config.h.  Default to --enable-twoprocess for MinGW32.
1397         * config.h.in: Regenerate.
1398         * configure: Regenerate.
1400 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1402         * tests/base/sys/cdefs.h: Update from test area.
1404 2004-09-17  Roger Sayle  <roger@eyesopen.com>
1406         * inclhack.def (linux_ia64_ucontext): New fix.
1407         * fixincl.x: Regenerate.
1408         * tests/base/sys/ucontext.h: New file.
1410 2004-09-15  Roger Sayle  <roger@eyesopen.com>
1412         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
1413         * tests/base/stdlib.h: Likewise.
1415 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
1417         * inclhack.def (freebsd_gcc4_breakage): Add.
1418         * fixincl.x: Regenerate.
1419         * tests/base/sys/cdefs.h: Update for new test.
1421 2004-09-10  Adam Nemet  <anemet@lnxw.com>
1423         * inclhack.def (lynx_void_int): Remove.
1424         (lynxos_fcntl_proto): Remove.
1425         (lynxos_no_warning_in_sys_time_h): New fix.
1426         (lynxos_missing_putenv): New fix.
1427         * fixincl.x: Regenerate.
1428         * tests/base/fcntl.h: Remove.
1429         * tests/base/sys/time.h: Update from test area.
1430         * tests/base/curses.h: Likewise.
1431         * tests/base/stdlib.h: Likewise.
1433 2004-09-03  Jan Beulich  <jbeulich@novell.com>
1435         * inclhack.def: Suppress exception_structure and math_exception
1436         for NetWare headers.
1437         * fixincl.x: Regenerate.
1439 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
1441         * .cvsignore: New.
1442         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
1443         autoconfiscated.
1444         * configure.ac: New.
1445         * config.h.in: Generate.
1446         * configure: Generate.
1447         * aclocal.m4: New.
1448         * fixlib.h: Remove inclusions of gcc files.
1449         * system.h: New.
1451         Other files copied from gcc/fixinc.