2015-05-22 Hristian Kirtchev <kirtchev@adacore.com>
[official-gcc.git] / fixincludes / ChangeLog
blob4ac5138ebdc3d875cc16f89775be26168b917160
1 2015-05-21  David Edelsohn  <dje.gcc@gmail.com>
3         * inclhack.def (aix_externc): New fix.
4         (aix_externcpp[12]): New fix.
5         * fixincl.x: Regenerate.
6         * test/base/ctype.h [AIX_EXTERNC_CHECK]: New test.
7         * test/base/sys/socket.h [AIX_EXTERNCPP[12]_CHECK]: New test.
8         * test/base/fcntl.h: New file.
10 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
12         * aclocal.m4: Regenerated with automake-1.11.6.
14 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
16         * mkfixinc.sh: Add *-musl* with no fixes.
18 2015-03-28  John David Anglin  <danglin@gcc.gnu.org>
20         PR libstdc++/65500
21         * inclhack.def (hpux11_lwp_rwlock_valid): New fix.
22         * fixincl.x: Regenerate.
23         * tests/base/sys/pthread.h [HPUX11_LWP_RWLOCK_VALID_CHECK]: New test.
25 2015-02-16  Daniel Richard G.  <skunk@iskunk.org>
27         PR bootstrap/48009
28         PR bootstrap/53348
29         * inclhack.def (aix_strtof_const): New fix.
30         * fixincl.x: Regenerate.
31         * tests/base/stdlib.h: New test.
33 2015-02-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
35         * inclhack.def (solaris_math_11): New fix.
36         * fixincl.x: Regenerate.
37         * tests/base/iso/math_c99.h [SOLARIS_MATH_11_CHECK]: New test.
39 2015-02-06  David Edelsohn  <dje.gcc@gmail.com>
41         PR bootstrap/53348
42         * inclhack.def (aix_pthread): Accept tab after define.
43         * fixincl.x: Regenerate.
45 2015-01-24  Bruce Korb  <bkorb@gnu.org>
47         * README: add some clarification on use of test_text
49 2014-12-21  Bruce Korb  <bkorb@gnu.org>
51         * fixincludes/fixincl.tpl: add handling for "sum" selection
52         criteria and clean up layout
53         * fixincludes/fixlib.h: enumerate TT_CKSUM test type
54         * fixincludes/fixincl.c (fix_applies): add code to handle
55         the new test type
56         (cksum_test): function to handle it
57         * fixincludes/README: doc it and remove explanations from
58         more than a decade ago.
60 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
62         * server.c (server_setup): Check return value of
63         getcwd and in case of error set buff[0] to 0.
65 2014-10-21  Uros Bizjak  <ubizjak@gmail.com>
67         * inclhack.def (glibc_c99_inline_4): Add pthread.h to files.
68         * fixincl.x: Regenerate.
70 2014-08-04  Alexander Ivchenko  <alexander.ivchenko@intel.com>
72         * inclhack.def (complier_h_tradcpp): Remove.
73         * fixincl.x: Regenerate.
74         * tests/base/linux/compiler.h: Remove.
76 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
78         * inclhack.def (math_exception): Bypass on *-*-solaris2.1[0-9]*.
79         (solaris_int_types): Remove.
80         (solaris_longjmp_noreturn): Remove.
81         (solaris_mutex_init_2): Remove.
82         (solaris_once_init_2): Remove.
83         (solaris_sys_va_list): Remove.
84         * fixincl.x: Regenerate.
85         * tests/base/iso/setjmp_iso.h: Remove.
86         * tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK]: Remove.
87         [SOLARIS_ONCE_INIT_1_CHECK]: Remove wrapping done by
88         solaris_once_init_2.
89         [SOLARIS_ONCE_INIT_2_CHECK]: Remove.
90         * tests/base/sys/int_types.h: Remove.
91         * tests/base/sys/va_list.h: Remove.
93 2013-12-20  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
95         Makefile.in: Use $(FI) instead of fixincl@EXEEXT@.
97 2013-12-07  Bruce Korb  <bkorb@gnu.org>
99         * inclhack.def: many of the headers found under "bits/" are
100         often stashed under architecture directories.  Apply fixes
101         to those, too.  Also, re-ordered misordered fixes.
102         * tests/base/linux/vt.h: 80 columns in .def file limitation
103         * tests/base/iso/math_c99.h: adjust ordering
104         * tests/base/rtldef/string.h: likewise
105         * tests/base/bits/fenv.h: likewise
106         * tests/base/pthread.h: likewise
108 2013-12-06  Richard Biener  <rguenther@suse.de>
110         * inclhack.def (suse_linux_vt_cxx): New fix for linux/vt.h
111         being not compatible with C++.
112         * fixincl.x: Regenerate.
113         * tests/base/linux/vt.h: New test.
115 2013-09-20  Alan Modra  <amodra@gmail.com>
117         * configure: Regenerate.
119 2013-09-02  David Edelsohn  <dje.gcc@gmail.com>
121         * inclhack.def (aix_assert): New fix.
122         * fixincl.x: Regenerate.
123         * tests/base/assert.h [AIX_ASSERT_CHECK]: New check.
125 2013-07-06  Bruce Korb  <bkorb@gnu.org>
127         * inclhack.def (cdef_cplusplus): removed, per Bug 51776
128         * tests/base/sys/cdefs.h (CDEF_CPLUSPLUS_CHECK): obsolete
130 2013-05-23  Alexander Ivchenko  <alexander.ivchenko@intel.com>
132         * inclhack.def (complier_h_tradcpp): New.
133         * fixincl.x: Rebuilt.
134         * tests/base/linux/compiler.h: New.
136 2013-05-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
138         * inclhack.def (solaris_pow_int_overload): Update comment.
139         Change guard to match <cmath>.
140         * fixincl.x: Regenerate.
141         * tests/base/iso/math_iso.h [SOLARIS_POW_INT_OVERLOAD_CHECK]:
142         Matching change.
144 2013-05-04  David Edelsohn  <dje.gcc@gmail.com>
146         * inclhack.def (aix_null): New.
147         (void_null): Update replacement definition of NULL.
148         * fixincl.x: Regenerate.
149         * tests/base/curses.h: Update for new fix.
151 2013-01-16  Alexandre Oliva  <aoliva@redhat.com>
153         * inclhack.def (feraiseexcept_nosse_invalid): New.
154         (feraiseexcept_nosse_divbyzero): Likewise.
155         * fixincl.x: Rebuilt.
156         * tests/base/bits/fenv.h: New.
158 2013-01-14  Richard Biener  <rguenther@suse.de>
160         * fixlib.h (verbose_level, fixinc_mode): Mark extern.
162 2012-10-29  Bruce Korb  <bkorb@gnu.org>
164         * README: testing wrap and replacement fixes is pointless.
165         * fixincl.c: export verbosity enumerations to fixlib.h
166         (run_compiles): mark replacement fixes to be skipped when
167         in testing mode
168         * fixlib.h: add a test mode and enumerations from fixincl.c
169         * check.tpl: set TEST_MODE in environment
170         * fixopts.c (initialize_opts): check for TEST_MODE in environment
171         * inclhack.def: move AAB_darwin7_9_long_double_funcs to
172         darwin_9_long_double_funcs_2.  It is not a replacement fix.
173         * fixincl.x: regenerate
174         * tests/base/ioLib.h: the need for this is now exposed, so add it.
175         * tests/base/architecture/ppc/math.h: the correct result is now needed.
177 2012-10-29  Robert Mason  <rbmj@verizon.net>
179         * fixinc.in: Omit machine name checks for vxworks
180         * fixincludes/inclhack.def (AAB_vxworks_assert) new replacement fix
181         (AAB_vxworks_regs_vxtypes): another
182         (AAB_vxworks_stdint): yet another
183         (AAB_vxworks_unistd): and another
184         (vxworks_ioctl_macro): reformatting fix
185         (vxworks_mkdir_macro): again
186         (vxworks_regs): and again
187         (vxworks_write_const): and again
188         * tests/base/ioLib.h: new test result
189         * tests/base/math.h: likewise
190         * tests/base/sys/stat.h: likewise
191         * tests/base/testing.h: and again
193 2012-09-29  David Edelsohn  <dje.gcc@gmail.com>
195         * inclhack.def (AAB_aix_fcntl): New fix.
196         * fixincl.x: Regenerate.
198 2012-06-19  David Edelsohn  <dje.gcc@gmail.com>
200         * inclhack.def (aix_mutex_initializer_1): New fix.
201         (aix_cond_initializer_1): New fix.
202         (aix_rwlock_initializer): New fix.
203         * fixincl.x: Regenerate.
204         * tests/base/pthread.h [AIX_MUTEX_INITIALIZER_1_CHECK]: New.
205         [AIX_COND_INITIALIZER_1_CHECK]: New.
206         [AIX_RWLOCK_INITIALIZER_1_CHECK]: New.
208 2012-05-29  Thomas Schwinge  <thomas@codesourcery.com>
210         * configure.ac: Use GCC_AC_FUNC_MMAP_BLACKLIST instead of
211         gcc_AC_FUNC_MMAP_BLACKLIST.
212         * Makefile.in (ACLOCAL_AMFLAGS): Don't include ../gcc.
213         * aclocal.m4: Regenerate.
214         * configure: Regenerate.
216 2012-04-24  Tristan Gingold  <gingold@adacore.com>
218         * fixincl.c (fix_with_system): Add missing specifier.
219         * configure.ac: Default to twoprocess on vms.
220         * configure: Regenerate.
222 2012-03-23  David Edelsohn  <dje.gcc@gmail.com>
224         * inclhack.def (aix_malloc): New.
225         * fixincl.x: Regenerate.
226         * tests/base/malloc.h [AIX_MALLOC_CHECK]: New.
228 2012-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
230         PR other/52626
231         * tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK]
232         (PTHREAD_COND_INITIALIZER): Adapt for solaris_cond_init removal.
234 2012-03-15  Tristan Gingold  <gingold@adacore.com>
236         * README (EXAMPLES OF FIXES): Update.
238 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
240         * inclhack.def (math_exception): Remove duplicate.
241         (solaris_cond_init): Remove.
242         (solaris_sys_va_list): Remove Solaris 8 support.
243         * fixincl.x: Regenerate.
244         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: Remove.
246 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
248         * inclhack.def (broken_cabs): Remove IRIX and SunOS 4 support.
249         (irix___restrict): Remove.
250         (irix___generic1): Remove.
251         (irix___generic2): Remove.
252         (irix_asm_apostrophe): Remove.
253         (irix_complex): Remove.
254         (irix_pthread_init): Remove.
255         (irix_socklen_t): Remove.
256         (irix_stdint_c99_mode): Remove.
257         (irix_stdint_c99_types): Remove.
258         (irix_stdint_c99_macros): Remove.
259         (irix_stdio_va_list): Remove IRIX 6.5 support.
260         (irix_wcsftime): Remove.
261         (stdio_va_list): Remove IRIX 6.5 support.
262         (svr4_profil): Remove IRIX bypass.
263         * fixincl.x: Regenerate.
265         * tests/base/complex.h [IRIX_COMPLEX_CHECK]: Remove.
266         * tests/base/internal/math_core.h: Remove.
267         * tests/base/internal/sgimacros.h: Remove.
268         * tests/base/internal/wchar_core.h: Remove.
269         * tests/base/math.h [BROKEN_CABS_CHECK]: Remove IRIX and SunOS 4
270         support.
271         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: Remove.
272         * tests/base/stdint-irix65.h: Remove.
273         * tests/base/stdint.h [IRIX_STDINT_C99_MODE_CHECK]: Remove.
274         * tests/base/sys/asm.h: Remove.
275         * tests/base/sys/socket.h [IRIX_SOCKLEN_T_CHECK]: Remove.
277 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
279         * inclhack.def (alpha___extern_prefix): Remove.
280         (alpha___extern_prefix_standards): Remove.
281         (alpha___extern_prefix_sys_stat): Remove.
282         (alpha_bad_lval): Remove.
283         (alpha_pthread): Remove.
284         (alpha_pthread_gcc): Remove.
285         (alpha_pthread_init): Remove.
286         * fixincl.x: Regenerate.
287         * tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: Remove.
288         [ALPHA_PTHREAD_GCC_CHECK]: Remove.
289         [ALPHA_PTHREAD_INIT_CHECK]: Remove.
290         * tests/base/standards.h: Remove.
291         * tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK]:
292         Remove.
293         * tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: Remove.
294         [ALPHA_BAD_LVAL_CHECK]: Remove.
296 2012-03-12  Tristan Gingold  <gingold@adacore.com>
298         * inclhack.def (vms_use_quoted_include,vms_add_missing_braces)
299         (vms_do_not_redeclare_hostalias, vms_decc_builtin)
300         (vms_no_64bit_getopt, vms_forward_declare_struct)
301         (vms_use_fast_setjmp): New fixes.
302         * fixincl.x: Regenerate.
303         * tests/base/rtldef/string.h: Update.
304         * tests/base/rtldef/if.h, tests/base/rtldef/resolv.h,
305         * tests/base/rtldef/setjmp.h, tests/base/rtldef/signal.h,
306         * tests/base/rtldef/stdio.h, tests/base/rtldef/wait.h: New files.
308 2012-01-11  Bruce Korb <bkorb@gnu.org>
309             Steven G. Kargl  <kargl@gcc.gnu.org>
310             Andreas Tobler  <andreast@fgznet.ch>
312         PR bootstrap/51705
313         PR preprocessor/51776
314         * inclhack.def (cdef_cplusplus): Add a replacement for [[noreturn]].
315         * fixincl.x: Regenerate.
316         * tests/base/sys/cdefs.h: Update.
318         * genfixes: Remove the 'Ver.' from the version check.
320 2011-12-20  Andreas Schwab  <schwab@linux-m68k.org>
322         * configure: Regenerate.
324 2011-12-19  Andreas Schwab  <schwab@linux-m68k.org>
326         * configure: Regenerate.
328 2011-11-16  David Edelsohn  <dje.gcc@gmail.com>
330         * inclhack.def (aix_once_init_[12]): New fixes.
331         * fixincl.x: Regenerate.
332         * tests/base/pthread.h: Update.
334 2011-10-25  Mike Stump  <mikestump@comcast.net>
336         PR target/48851
337         * inclhack.def (void_null): New bypass.
338         * fixincl.x: Regenerate.
340 2011-09-26  Tristan Gingold  <gingold@adacore.com>
342         * inclhack.def (ms_define_can_use_extern_prefix):
343         (vms_use_pragma_extern_model, vms_disable_decc_string_builtins):
344         New fixes.
345         * fixincl.x: Regenerate.
346         * tests/base/rtldef/string.h: New test.
347         * tests/base/rtldef/decc$types.h: Likewise.
348         * tests/base/testing.h: Update
350 2011-09-22  Tristan Gingold  <gingold@adacore.com>
352         * mkfixinc.sh (target): Remove alpha-vms from particular targets.
354 2011-08-23  Steve Ellcey  <sje@cup.hp.com>
356         PR libstdc++/50153
357         * inclhack.def (hpux11_abs): Extend to all hpux machines.
358         * fixincl.x: Regenerate.
360 2011-08-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
361             Marc Glisse  <marc.glisse@normalesup.org>
363         PR libstdc++-v3/1773
364         * inclhack.def (solaris_cxx_linkage, solaris_getc_strict_stdc)
365         (solaris_longjmp_noreturn, solaris_pow_int_overload)
366         (solaris_std___filbuf): New fixes.
367         * tests/base/iso/math_iso.h, tests/base/iso/setjmp_iso.h,
368         tests/base/iso/stdio_iso.h, tests/base/iso/stdlib_iso.h: New tests.
369         * tests/base/stdio.h [SOLARIS_STD___FILBUF_CHECK]: New test.
371 2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
373         PR c++/49347
374         * inclhack.def (solaris_posix_spawn_restrict): New fix.
375         * fixincl.x: Regenerate.
376         * tests/base/spawn.h: New test.
378 2011-06-08  Douglas B Rupp  <rupp@gnat.com>
380         * configure.ac (AC_USE_SYSTEM_EXTENSIONS): Add.
381         * configure: Regenerate.
382         * config.h.in: Regenerate.
384 2011-06-06  Peter O'Gorman  <pogma@thewrittenword.com>
386         * inclhack.def (aix_net_if_arp): New fix.
387         * fixincl.x: Regenerate.
388         * tests/base/net/if_arp.h [AIX_NET_IF_ARP_CHECK]: New test.
390 2011-05-17  Tristan Gingold  <gingold@adacore.com>
392         * inclhack.def (solaris_complex_cxx): Fix syntax.
393         * fixincl.x: Regenerate.
395 2011-05-17  Tristan Gingold  <gingold@adacore.com>
397         * check.tpl: Shell-quote testing file.
399 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
401         * mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
403 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
405         PR other/46202
406         * Makefile.in (install-strip): New phony target.
407         (all, check, install): Also mark as phony.
409 2010-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
411         * inclhack.def (irix_pthread_init): New fix.
412         * fixincl.x: Regenerate.
413         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: New test.
415 2010-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
417         PR c++/46024
418         * inclhack.def (solaris_sys_va_list): New fix.
419         * fixincl.x: Regenerate.
420         * tests/base/sys/va_list.h: New test.
422 2010-09-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
424         * inclhack.def (hpux_htonl): Allow trailing whitespace in select.
425         * fixincl.x: Regenerate.
427 2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
429         * inclhack.def (solaris_cond_init): New fix.
430         * fixincl.x: Regenerate.
431         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: New test.
432         [SOLARIS_MUTEX_INIT_2_CHECK]: Adapt.
434 2010-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
436         * inclhack.def (solaris__restrict, solaris_complex_cxx): New fixes
437         * fixincl.x: Regenerate.
438         * tests/base/complex.h [SOLARIS_COMPLEX_CXX_CHECK]: New test.
439         * tests/base/sys/feature_tests.h: New file.
441 2010-06-03  Joern Rennecke <joern.rennecke@embecosm.com>
442             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
444         PR bootstrap/42798
445         * configure.ac: Check for declaration of 'basename(char *)'.
446         * configure: Regenerate.
448 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
450         * inclhack.def (alpha_wchar): Remove.
451         * fixincl.x: Regenerate.
452         * tests/base/wchar.h: Remove.
454 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
456         * aclocal.m4: Regenerate.
458 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
460         * inclhack.def (alpha_assert): Allow for more whitespace in
461         select.
462         * fixincl.x: Regenerate.
464 2010-03-28  H.J. Lu  <hongjiu.lu@intel.com>
466         PR target/40722
467         * mkfixinc.sh: Revert the last change for mingw.
469 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
471         * inclhack.def (glibc_strncpy): New fix.
472         * fixincl.x: Regenerate.
473         * tests/base/bits/string2.h: Update.
475 2010-03-23  H.J. Lu  <hongjiu.lu@intel.com>
477         PR target/40722
478         * mkfixinc.sh: Fix stdlib.h for mingw.
480 2010-02-19  Bruce Korb  <bkorb@gnu.org>
482         * inclhack.def: remove vestiges of inadvertently committed changes
484 2010-02-10  Bruce Korb  <bkorb@gnu.org>
486         * README: fix up references to old gcc/fixinc directory
488 2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
490         * inclhack.def (solaris_int_limits_3): New fix.
491         * fixincl.x: Regenerate.
492         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
493         test.
495         * inclhack.def (solaris_int_const, solaris_int_limits_1,
496         solaris_int_limits_2 ): Applies to Solaris 2 in general.
497         Remove select.
498         Add mach for *-*-solaris2*.
499         Change second c_fix_arg to select.
500         Remove #pragma ident from test_text.
501         * fixincl.x: Regenerate.
502         * tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
503         #pragma trigger text.
504         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
505         SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
507 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
509         * inclhack.def (aix_stdint_1): Add stdint-aix.h to files.
510         (aix_stdint_2): Likewise.
511         (aix_stdint_3): Likewise.
512         (aix_stdint_4): Likewise.
513         (aix_stdint_5): Likewise.
514         (darwin_stdint_1): Add stdint-darwin.h to files.
515         (darwin_stdint_2): Likewise.
516         (darwin_stdint_3): Likewise.
517         (darwin_stdint_4): Likewise.
518         (darwin_stdint_5): Likewise.
519         (darwin_stdint_6): Likewise.
520         (darwin_stdint_7): Likewise.
521         (hpux_c99_intptr): Add stdint-hpux11.h to files.
522         (hpux_c99_inttypes): Likewise.
523         (hpux_c99_inttypes2): Likewise.
524         (hpux_stdint_least_fast): Likewise.
525         (irix_stdint_c99): Renamed to irix_stdint_c99_mode.
526         (irix_stdint_c99_types): New fix.
527         (irix_stdint_c99_macros): New fix.
528         (newlib_stdint_1): Add stdint-newlib.h to files.
529         (newlib_stdint_2): Likewise.
530         fixincl.x: Regenerate.
531         tests/base/stdint-aix.h: New file.
532         tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK,
533         AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ...
534         tests/base/stdint-aix.h: ... here.
535         [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix.
536         [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix.
537         [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix.
538         tests/base/stdint-darwin.h: New file.
539         tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK,
540         DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK,
541         DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ...
542         tests/base/stdint-darwin.h: ... here.
543         [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix.
544         [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix.
545         [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix.
546         tests/base/stdint-hpux11.h: New file.
547         tests/base/stdint.h [HPUX_C99_INTPTR_CHECK,
548         HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ...
549         tests/base/stdint-hpux11.h: ... here.
550         [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix.
551         [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix.
552         tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to
553         IRIX_STDINT_C99_MODE_CHECK.
554         tests/base/stdint-irix65.h: New file.
555         tests/base/stdint-newlib.h: New file.
556         tests/base/stdint.h [NEWLIB_STDINT_1_CHECK,
557         NEWLIB_STDINT_2_CHECK]: Moved ...
558         tests/base/stdint-newlib.h: ... here.
560 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
562         * configure: Regenerate.
564 2009-10-21  Steve Ellcey  <sje@cup.hp.com>
566         * inclhack.def (hpux_stdint_least_fast): Simplify.
567         * fixincl.x: Regenerate.
568         * tests/base/stdint.h: Update.
570 2009-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
572         * inclhack.def (isc_fmod, isc_omits_with_stdc)
573         (nested_sys_limits, sco_math): Remove.
574         * tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
575         * tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
576         * tests/base/sys/limits.h: Remove.
577         * fixincl.x: Regenerate.
579 2009-09-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
581         PR testsuite/29737
582         PR bootstrap/35938
583         PR testsuite/39655
584         * check.tpl: Fix typos.
585         * README: Likewise.  Also, document that 'select' uses ERE.
586         * mkheaders.in: Update copyright years in --version output.
587         * inclhack.def (sco_math): Add missing final newline in sed
588         script 'a', 'c', or 'i' commands, for BSD sed.
589         (sco_math): In the text of 'a', 'c', or 'i' sed
590         commands, prepend leading white space with a backslash to avoid
591         the whitespace to be removed by BSD sed.
592         (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
593         (x11_new): Fix sed expression, for BSD sed.
594         (glibc_mutex_init): Fix newlines in sed 's' command replacement
595         part, for GNU sed 3.02 and Solaris sed.
596         (glibc_mutex_init): Replace unportable \+ sed regex operator
597         with \{1,\}.
598         (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
599         alternation \| regex operator.
600         (solaris_complex): Remove superfluous backslashes from
601         replacement string.  Replace \+ operator with \{1,\}.
602         * tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
603         * fixincl.x: Regenerate.
605 2009-09-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
607         PR libfortran/41169
608         * inclhack.def (irix_complex): New fix.
609         (solaris_complex): Likewise.
610         * fixincl.x: Regenerate.
611         * tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
612         New tests.
614 2009-08-28   Bruce Korb <bkorb@gnu.org>
615              Steve Ellcey  <sje@cup.hp.com>
617         * README (files): Describe files entry.
618         * inclhack.def (hpux_stdint_least): Remove.
619         (hpux_stdint_fast): Remove.
620         (hpux_stdint_fast): Remove.
621         (hpux_stdint_least_fast): New.
622         (hpux_inttype_int_least8_t): Remove.
623         (hpux_inttype_int8_t): Modify.
624         * fixincl.x: Regenerate.
625         * tests/base/stdint.h: Update.
626         * tests/base/sys/_inttypes.h: Update.
628 2009-08-28  Steve Ellcey  <sje@cup.hp.com>
630         * inclhack.def (hpux_imaginary_i): Remove spaces.
631         * fixincl.x: Regenerate.
632         * tests/base/stdint.h: Update AIX fixes. 
633         * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
635 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
637         * configure.ac (AC_PREREQ): Bump to 2.64.
639 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
641         * aclocal.m4: Regenerate.
642         * configure: Regenerate.
643         * config.h.in: Regenerate.
645 2009-08-17  David Edelsohn  <edelsohn@gnu.org>
647         * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
648         redefine I.
649         * (aix_stdint_[12345]): New fixes.
650         * fixincl.x: Regenerate.
651         * tests/base/complex.h: Update check.
652         * tests/base/stdint.h: Add AIX stdint.h checks.
654 2009-08-14  Steve Ellcey  <sje@cup.hp.com>
656         * inclhack.def (hpux_imaginary_i): New fix.
657         * fixincl.x: Regenerate.
658         * tests/base/complex.h: New file.
660 2009-08-12  David Edelsohn  <edelsohn@gnu.org>
662         * inclhack.def (aix_complex): New fix.
663         * fixincl.x: Regenerate.
665 2009-08-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
667         * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
668         (hpux_inttype_int8_t): Likewise.
669         * fixincl.x: Regenerate.
671 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
673         * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
674         New variables.
675         ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
676         Use them.
678 2009-07-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
680         * inclhack.def (darwin_stdint_5, darwin_stdint_6,
681         darwin_stdint_7): New fixes.
682         * fixincl.x: Regenerate.
683         * tests/base/stdint.h: Adjust test for new fixes.
685 2009-07-03  Eric Botcazou  <ebotcazou@adacore.com>
687         * inclhack.def (solaris_int_types): New fix.
688         * fixincl.x: Regenerate.
689         * tests/base/sys/int_types.h: New file.
691 2009-06-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
693         * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
694         darwin_stdint_4): New fixes.
695         * tests/base/stdint.h: Adjust test results for new fixes.
696         * fixincl.x: Regenerate.
698 2009-05-29  Eric Botcazou  <ebotcazou@adacore.com>
700         * inclhack.def (solaris_int_const): New fix.
701         (solaris_int_limits_1): Likewise.
702         (solaris_int_limits_2): Likewise.
703         * fixincl.x: Regenerate.
704         * tests/base/sys/int_const.h: New file.
705         * tests/base/sys/int_limits.h: Likewise.
707 2009-05-15  Joseph Myers  <joseph@codesourcery.com>
709         * inclhack.def (glibc_tgmath): Correct bypass.
710         * fixincl.x: Regenerate.
712 2009-04-28  Steve Ellcey  <sje@cup.hp.com>
714         * inclhack.def (hpux11_uint32_c): Remove.
715         (hpux_long_double): Disable on hpux11.3*.
716         (hpux_long_double_2): New.
717         (hpux_c99_intptr): New.
718         (hpux_c99_inttypes): New.
719         (hpux_c99_inttypes2): New.
720         (hpux_stdint_least): New.
721         (hpux_stdint_fast): New.
722         (hpux_inttype_int_least8_t): New.
723         (hpux_inttype_int8_t): New.
724         * fixincl.x: Regenerate.
725         * tests/base/sys/_inttypes.h: New.
726         * tests/base/inttypes.h: Update.
727         * tests/base/stdlib.h: Update.
728         * tests/base/stdint.h: Update.
730 2009-04-28  Joseph Myers  <joseph@codesourcery.com>
732         * inclhack.def (glibc_stdint): New fix.
733         * fixincl.x: Regenerate.
734         * tests/base/stdint.h: Update.
736 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
738         * Makefile.in: Change copyright header to refer to version
739         3 of the GNU General Public License and to point readers at the
740         COPYING3 file and the FSF's license web page.
741         * fixfixes.c: Likewise.
742         * fixinc.in: Likewise.
743         * fixincl.c: Likewise.
744         * fixlib.c: Likewise.
745         * fixlib.h: Likewise.
746         * fixopts.c: Likewise.
747         * fixtests.c: Likewise.
748         * genfixes: Likewise.
749         * mkheaders.in: Likewise.
750         * system.h: Likewise.
752 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
754         PR c/448
755         * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
756         * fixincl.x: Regenerate.
757         * tests/base/stdint.h: Update.
759 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
761         * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
762         Update.
764 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
766         PR c/456
767         PR c/5675
768         PR c/19976
769         PR c/29116
770         PR c/31871
771         PR c/35198
772         * inclhack.def (glibc_tgmath): New fix.
773         * fixincl.x: Regenerate.
774         * tests/base/tgmath.h: New.
776 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
778         * inclhack.def (aix_syswait, exception_structure,
779         pthread_page_size): Remove.
780         (math_exception): Remove mention of fixproto in comment.
781         * fixincl.x: Regenerate.
782         * mkheaders.in: Do not handle STMP_FIXPROTO.
784 2009-03-27  Sandra Loosemore  <sandra@codesourcery.com>
786         * server.c (run_shell): Quote directory name passed to cd.
788 2009-03-01  Bruce Korb  <bkorb@gnu.org>
789         Apply a positively ancient patch:
791         2004-10-15  Giovanni Bajo  <giovannibajo@libero.it>
793         * inclhack.def (alpha_if_semicolon): new fix from long, long ago
794         * tests/base/net/if.h: Add new test.
796 2009-01-06  Andreas Tobler  <a.tobler@schweiz.org>
798         * tests/base/locale.h: Add new test.
799         * tests/base/stdarg.h: Likewise.
801 2009-01-05  Steve Ellcey  <sje@cup.hp.com>
803         * inclhack.def (hpux_spu_info):  Add files line.
804         * fixincl.x: Regenerate.
806 2009-01-01  Andreas Tobler  <a.tobler@schweiz.org>
808         * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
809         in case of C.
810         * fixincl.x: Regenerate.
812 2008-12-31  Andreas Tobler  <a.tobler@schweiz.org>
814         PR target/35460
815         * inclhack.def (openbsd_va_start): Use __builtin_va_start
816         for OpenBSD.
817         * fixincl.x: Regenerate.
819 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
821         * configure: Regenerate.
823 2008-12-15  Steve Ellcey  <sje@cup.hp.com>
825         * inclhack.def (hpux_spu_info): Match PA as well as IA64.
826         * fixincl.x: Regenerate.
828 2008-09-06  H.J. Lu  <hongjiu.lu@intel.com>
830         * configure.ac: Fix a typo.
831         * configured: Regenerate.
833 2008-09-06  Bruce Korb  <bkorb@gnu.org>
835         * fixincl.tpl (sed): make the program executable configurable.
836         Some platforms have some rather oddball defaults.
837         * config.h.in (SED_PROGRAM): define the default sed.
838         * fixincl.x: regenerated
839         * tests/base/internal/wchar_core.h: fix bad sample text
840         * tests/base/math.h: fix bad sample text
841         * configure.ac: search for working sed
842         * inclhack.def (glibc_mutex_init): fix non-portable construct
843         and re-order a few misordered entries.
845 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
847         * configure: Regenerate.
849 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
851         * inclhack.def (AAB_svr4_replace_byteorder,
852         AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
853         libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
854         ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
855         solaris_mutex_init_1, solaris_socket, solaris_unistd,
856         solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
857         ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
858         ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
859         ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
860         ultrix_strings2, ultrix_sys_time, ultrix_unistd,
861         unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
862         windiss_math2, windiss_valist): Remove.
863         * fixincl.x: Regenerate.
864         * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
865         i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
866         powerpc-*-eabiaix*): Remove.
867         * tests/base/math.h: Update.
868         * tests/base/pthread.h: Update.
869         * tests/base/stdio.h: Update.
870         * tests/base/stdlib.h: Update.
871         * tests/base/string.h: Update.
872         * tests/base/strings.h: Update.
873         * tests/base/sys/file.h: Update.
874         * tests/base/sys/limits.h: Update.
875         * tests/base/sys/socket.h: Update.
876         * tests/base/sys/stat.h: Update.
877         * tests/base/sys/time.h: Update.
878         * tests/base/testing.h: Update.
879         * tests/base/unistd.h: Update.
880         * tests/base/_G_config.h: Remove.
881         * tests/base/arpa: Remove directory.
882         * tests/base/fs: Remove directory.
883         * tests/base/locale.h: Remove.
884         * tests/base/machine: Remove directory.
885         * tests/base/rpc/svc.h: Remove.
886         * tests/base/sys/ioctl.h: Remove.
887         * tests/base/sys/regset.h: Remove.
888         * tests/base/sys/times.h: Remove.
889         * tests/base/sys/utsname.h: Remove.
890         * tests/base/widec.h: Remove.
892 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
894         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
895         * tests/base/iso/math_c99.h: Update.
896         * fixincl.x: Regenerate.
898 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
900         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
901         posix_types_64.
902         * fixincl.x: Regenerate.
904 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
906         * fixincl.c (fix_with_system): Cast pointer difference to long.
907         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
909 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
911         PR bootstrap/35457
912         * Makefile.in: Rewrite aclocal.m4 rule.
913         * aclocal.m4: Regenerate.
914         * configure: Regenerate.
916 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
918         PR c++/20366
919         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
920         * fixincl.x: Regenerate.
921         * tests/base/stdio.h: Add test.
923 2008-02-25  Ben Elliston  <bje@au.ibm.com>
925         PR other/32948
926         * fixincl.c (fix_applies): Remove unused variable `name_len'.
928 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
930         * inclhack.def (solaris_math_10): New.
931         * tests/base/iso/math_c99.h: Update.
933         * fixincl.x: Regenerate.
935 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
937         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
938         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
939         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
940         quotes around mach entries.
941         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
942         to GPLv3.
944 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
946         PR other/31405
947         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
948         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
949         __extern_inline|__GNU_STDC_INLINE__.
950         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
951         <bypass>: Change from __STDC_VERSION__ to
952         __extern_inline|__GNU_STDC_INLINE__.
953         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
954         appending attribute-gnu_inline.
955         <second c_fix_arg>: Remove.
956         <test_text>: Remove __extern_inline line.
957         * tests/base/features.h: Re-add.
958         * tests/base/sys/sysmacros.h: Adjust.
959         * fixincl.x: Regenerate.
961 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
963         Revert last change.
965 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
967         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
968         * fixincl.x: Regenerate.
969         * tests/base/wchar.h: Update.
970         * tests/base/features.h: New.
972 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
974         PR target/33700
975         * inclhack.def (hpux11_pthread_const): New.
976         * fixincl.x: Regenerate.
977         * tests/base/sys/pthread.h: Update.
979 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
981         * configure.ac: x86_64 mingw target uses twoprocess.
982         * mkfixinc.sh: Add x86_64 mingw target.
983         * configure: Regenerate.
985 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
987         * inclhack.def (darwin_externc): New.
988         * fixincl.x: Regenerate.
989         * tests/base/mach-o/swap.h: New.
991 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
993         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
994         Delete fixes.
995         * tests/base/iso/math_c99.h: Delete associated test baselines.
996         * fixincl.x: Regenerate.
998 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
1000         PR target/30058
1001         * inclhack.def (netbsd_c99_inline_2): New.
1002         * fixincl.x: Regenerate.
1003         * tests/base/signal.h: Update.
1005 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1007         PR target/32641
1009         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
1010         solaris_math_7): Constify and make FP exception-safe.
1011         * tests/base/iso/math_c99.h: Update.
1013         * fixincl.x: Regenerate.
1015 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1017         PR libgcj/28190
1018         * inclhack.def (irix_stdint_c99): New fix.
1019         * fixincl.x: Regenerate.
1020         * tests/base/stdint.h: New test.
1022 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
1024         PR testsuite/31828
1025         * inclhack.def (hppa_hpux_fp_macros): New.
1026         * fixincl.x: Regenerate.
1027         * tests/base/math.h: Update.
1029 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
1031         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
1032         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
1033         __STDC_VERSION__ < 199901L.
1034         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
1035         with #ifdef __GNUC_GNU_INLINE__.
1036         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
1037         with defined(__GNUC_STDC_INLINE__).
1038         (glibc_c99_inline_4): Change select, add second c_fix_arg.
1039         Replace #if __STDC_VERSION__ < 199901L with
1040         #ifdef __GNUC_GNU_INLINE__.
1041         * fixincl.x: Regenerated.
1042         * tests/base/bits/string2.h: Update.
1043         * tests/base/sys/sysmacros.h: Update.
1044         * tests/base/sys/stat.h: Update.
1046 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
1048         PR target/30058
1049         * inclhack.def (netbsd_c99_inline_1): New.
1050         * fixincl.x: Regenerate.
1051         * tests/base/signal.h: New.
1053 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
1055         * Makefile.in: Add dummy "install-info" target.
1057 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
1059         * mkheaders.in: Fix headers for each multilib required.
1061 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
1063         * Makefile.in: Add dummy install-pdf target.
1065 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
1067         * mkheaders.in (incdir): Use include-fixed not include.
1069 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
1071         * Makefile.in: Added "pdf" target to .PHONY.
1073 2007-02-05  Richard Guenther  <rguenther@suse.de>
1075         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
1076         with older glibc.  Adjust version number for C99.
1077         * fixincl.x: Regenerated.
1079 2007-02-04  Mike Stump  <mrs@apple.com>
1081         * mkheaders.in: Allow optional isysroot parameter.
1083 2007-02-03  Bruce Korb <bkorb@gnu.org>
1085         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
1086         surrounded by space characters.
1088 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
1090         PR target/30272
1091         * inclhack.def(broken_cabs): Also remove definition of cabsl.
1092         * fixincl.x: Regenerate.
1093         * tests/base/math.h: Update.
1095 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
1096             Daniel Franke <franke.daniel@gmail.com>
1098         PR target/30008
1099         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
1100         of a vertical bar ("|").
1101         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
1102         matching.  Set SKIP_TEST flag if we are not to run a test.
1103         * fixincl.x: Regenerate.
1104         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
1105         kandr_concat, sco_math): Replace lists of specfic file names by search
1106         patterns.
1108 2006-12-12  Olivier Hainque  <hainque@adacore.com>
1110         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
1111         targets for which a no-op fixer is appropriate.
1113 2006-11-07  Richard Guenther  <rguenther@suse.de>
1115         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
1116         systems.
1117         * fixincl.x: Regenerate.
1119 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
1121         * inclhack.def (glibc_c99_inline_1): New.
1122         * inclhack.def (glibc_c99_inline_2): New.
1123         * inclhack.def (glibc_c99_inline_3): New.
1124         * inclhack.def (glibc_c99_inline_4): New.
1125         * fixincl.x: Regenerate.
1126         * tests/base/bits/string2.h: New.
1127         * tests/base/sys/sysmacros.h: New.
1128         * tests/base/sys/stat.h: Update.
1130 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
1132         * tests/base/sys/socket.h: Update.
1134 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
1136         * inclhack.def (hpux11_extern_sendfile): New.
1137         (hpux11_extern_sendpath): New.
1138         * fixincl.x: Regenerate.
1140 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
1142         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
1143         * fixincl.x: Regenerate.
1145 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
1147         * Makefile.in: Added empty "pdf" target.
1149 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1151         PR target/29300
1152         * inclhack.def (hpux_pthread_initializers): New hack.
1153         * tests/base/sys/pthread.h: New file.
1155         * fixincl.x: Regenerate.
1157 2006-10-03  Uros Bizjak <uros@kss-loka.si>
1159         * inclhack.def (glibc_mutex_init): Also fix
1160         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
1161         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
1162         * tests/base/pthread.h: Update.
1164         * fixincl.x: Regenerate.
1166 2006-10-01  Uros Bizjak <uros@kss-loka.si>
1168         * inclhack.def (glibc_mutex_init): New fix.
1169         * tests/base/pthread.h: Update.
1171         * fixincl.x: Regenerate.
1173 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1175         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
1176         Prevent it from running on solaris10 or later.
1177         (solaris_once_init_2): Fix comment.
1178         * tests/base/pthread.h: Update.
1180         * fixincl.x: Regenerate.
1182 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1184         * inclhack.def (solaris_once_init_2): New fix.
1185         * tests/base/pthread.h: Update.
1187         * fixincl.x: Regenerate.
1189 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1191         * inclhack.def (solaris_mutex_init_2): Remove test for
1192         PTHREAD_RWLOCK_INITIALIZER.
1193         (solaris_rwlock_init_1): New.
1194         * tests/base/pthread.h: Update.
1196         * inclhack.def (solaris_once_init_1): New.
1197         * tests/base/pthread.h: Adjust for new fix.
1199         * fixincl.x: Regenerate.
1201 2006-07-17  Roger Sayle  <roger@eyesopen.com>
1203         * tests/base/errno.h: New file.
1204         * tests/base/architecture/ppc/math.h: Likewise.
1205         * tests/base/ia64/sys/getppdp.h: Likewise.
1207 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
1209         PR bootstrap/20437
1210         * Makefile.in (configure, config.h.in): Change into $(srcdir)
1211         before autoconf or autoheader call.
1213 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
1215         PR target/28084
1216         * inclhack.def (hpux_extern_errno): New.
1217         * fixincl.x: Regenerate.
1219 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
1221         * Makefile.in: Add dvi info html and install-html to .PHONY
1222         Add install-html target.
1224 2006-05-16  Mike Stump  <mrs@apple.com>
1226         * configure.ac: Add -Wno-overlength-strings.
1227         * configure: Regenerate.
1229 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
1231         * README: Fix typo.
1233 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
1235         PR target/26189
1236         * inclhack.def (hpux_spu_info): New.
1237         * fixincl.x: Regenerate
1239 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
1241         * configure.ac: Check for asprintf, basename, vasprintf.
1242         * config.h.in: Regenerate.
1243         * configure: Regenerate.
1245 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
1247         PR target/15642
1248         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
1249         __APPLE_CC_ as 1345.
1250         (broken_nan): New.
1251         * fixincl.x: Regenerate.
1253 2005-11-24  Bruce Korb  <bkorb@gnu.org>
1255         * fixincl.c (write_replacement): "here strings" in AutoGen
1256         often/generally don't have a terminating newline.  Check the
1257         last byte for '\n'.
1259 2005-11-13  Andreas Jaeger  <aj@suse.de>
1261         * check.tpl: Handle CVS additionally.
1263 2005-11-05  Andreas Jaeger  <aj@suse.de>
1265         * check.tpl: Adopt for move to subversion.
1267 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
1269         PR c++/23139
1270         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
1271         fixes.
1272         * fixincl.x: Regenerate.
1273         * tests/base/bits/huge_val.h: New file.
1275 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
1277         * All files: Update with new FSF address.
1279 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1281         * Makefile.in (WARN_CFLAGS): New.
1282         (.c.o): Add $(WARN_CFLAGS).
1283         * aclocal.m4: Include ../config/warnings.m4.
1284         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
1285         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
1286         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
1287         * fixopts.c (initialize_opts): Fix old-style definintion.
1289         * configure: Regenerate.
1291 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
1293         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
1294         (AAB_darwin7_9_long_double_funcs_2): New.
1295         * fixincl.x: Regenerate.
1297 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1299         PR libfortran/15266
1300         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
1301         Use double quotes in select so \t matches tabs.
1302         Add IRIX testcase.
1303         * fixincl.x: Regenerate.
1304         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
1306 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
1308         PR target/21683
1309         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
1311 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
1312             Joseph S. Myers  <joseph@codesourcery.com>
1314         PR target/19933
1315         PR target/21315
1316         * inclhack.def: New fixes solaris_math_[1-9].
1317         * fixincl.x: Regenerate.
1318         * tests/base/iso/math_c99.h: New.
1320 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
1322         * aclocal.m4: Remove superfluous reference to accross.m4.
1324 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1326         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
1327         * server.c (load_data): Likewise.
1328         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
1329         * fixincl.c: #include <sys/wait.h>
1330         (run_compiles): Use XCNEWVEC instead of xcalloc.
1331         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
1332         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
1334 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
1336         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
1337         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
1338         * fixincl.x: Regenerate.
1340 2005-05-06  Bruce Korb  <bkorb@gnu.org>
1341         Joseph S. Myers <joseph@codesourcery.com>
1343         * fixinc/inclhack.def: Correct backslashes
1344         * fixinc/fixincl.x: regen
1346 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1348         * system.h (fopen, fdopen, freopen): Define these to the unlocked
1349         libiberty functions.
1351 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1353         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
1354         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
1355         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
1356         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
1357         _unlocked function.
1358         (fwrite_unlocked): Fix prototype.
1360         * configure, config.h.in: Regenerate.
1362 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
1364         * Makefile.in: Set gcc_version directly, not via substitution.
1365         (libsubdir): Use $(gcc_version), not $(version).
1366         (mkheaders.almost): New rule.
1367         (mkheaders): Generate from mkheaders.almost.
1368         (clean): Also delete mkheaders.almost.
1369         * aclocal.m4: Do not include ../config/gcc-version.m4.
1370         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
1371         mkheaders.almost from mkheaders.in.
1372         * configure: Regenerate.
1374 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
1376         PR target/20166
1377         * inclhack.def: Add fix for array of incomplete structures
1378         in function prototype in pthread.h.
1379         * fixincl.x: Regenerate.
1380         * tests/base/pthread.h: Adjust.
1382 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
1384         * inclhack.def (hpux_htonl): New fix.
1385         * tests/base/netinet/in.h: New test.
1386         * fixincl.x: Regenerate.
1388 2005-02-23  James E Wilson  <wilson@specifixinc.com>
1390         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
1392 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
1394         PR 18458
1395         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
1396         fixincl.
1398 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
1400         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1401         * aclocal.m4: Include ../config/gcc-version.m4.
1402         * configure: Regenerate.
1404 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
1406         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
1407         (stdio_va_list): Likewise.
1408         (stdio_stdarg.h): Likewise.
1409         (solaris_stdio_tag): Add bypass.
1410         * fixincl.x: Regenerated.
1412 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
1414         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
1415         built fixincl program.
1416         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
1417         up csh from user.
1419 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1421         * inclhack.def (alpha_pthread_init): Fix technical problems with
1422         the last check-in caused by CVS variable substitution.
1423         * fixincl.x: Likewise.
1424         * tests/base/pthread.h: Likewise.
1426 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1427             Bruce Korb  <bkorb@gnu.org>
1429         * inclhack.def (alpha_pthread_init): New fix.
1430         * fixincl.x: Regenerate.
1431         * tests/base/pthread.h: Update for new test.
1433 2004-11-15  Bruce Korb  <bkorb@gnu.org>
1435         * fixincl.c(fix_with_system): correct misuse of variables and
1436         incorrect application of "sizeof()".
1438 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
1440         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
1441         svr4__p, undefine_null): Remove.
1442         * fixincl.x: Regenerate.
1443         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
1444         * tests/base/sys/param.h: Remove.
1445         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
1446         tests/base/sys/limits.h: Update.
1448 2004-11-12  Mike Stump  <mrs@apple.com>
1450         * Makefile.in (html): Add html generation support.
1452 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
1454         * inclhack.def (sco_math): Bypass on __GNUG__.
1455         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
1456         * fixincl.x: Regenerate.
1458 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
1460         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
1461         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
1462         _CLASSIC_ANSI_TYPES.
1463         (sun_auth_proto): Bypass on __cplusplus.
1464         * fixincl.x: Regenerate.
1466 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
1468         * Makefile.in (mostlyclean): Add fixinc.sh.
1469         (clean): Add mkheaders.
1470         (distclean): New.
1471         (dvi): New.
1472         (info): New.
1473         (installcheck): New.
1475 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
1477         * Makefile.in (mostlyclean, distclean): New targets.
1479 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
1481         * configure.ac: Add code to determine noncanonical_target,
1482         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
1483         * configure: Regenerate.
1484         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
1485         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
1486         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
1487         update for changes to fixinc.in.
1488         * Makefile.in: Add many new macros.
1489         (install): New target.
1490         (mkheaders): New target.
1491         (fixinc.sh): New target.
1492         (all): Add mkheaders and fixinc.sh.
1493         * README-fixinc: Move here from gcc/.
1495 2004-11-01  Mike Stump  <mrs@apple.com>
1497         * inclhack.def (stdio_va_list): Break out clients from here...
1498         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
1499         included or ifdef va_start.
1500         * fixincl.x: Regenerate.
1502 2004-10-28  Mike Stump  <mrs@apple.com>
1504         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
1505         systems.
1506         * fixincl.x: Regenerate.
1508 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
1510         * inclhack.def (darwin_gcc4_breakage): New.
1511         * fixincl.x: Regenerate.
1513 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1515         PR bootstrap/17832
1517         * fixfixes.c (main): Check for _PC_NAME_MAX.
1519 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
1521         PR other/17991
1523         * configure.ac: Fix typo.
1524         * configure: Regenerate.
1525         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
1527 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1529         PR bootstrap/17832
1531         * fixincl.c (SIGCHLD): Remove definition.
1532         (initialize): Remove SIGIOT and SIGPIPE checks.
1533         (create_file): Fix mkdir() for Win32.
1534         (internal_fix): Use dup2() instead of fcntl().
1536         * fixlib.h (SIGQUIT): Define if undefined.
1537         (SIGIOT): Same.
1538         (SIGPIPE): Same.
1539         (SIGALRM): Same.
1540         (SIGKILL): Same.
1542         * procopen.c (chain_open): Use dup2() instead of fcntl().
1544 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
1546         PR other/17991
1548         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
1549         Update copyright year.
1550         * fixfixes.c (main): Call initialize_opts from fixopts.c.
1551         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
1552         do not include code for parsing options (environment vars).
1553         (fix_with_system): Use a search path for applyfix, so that you
1554         can run the test suite with two-process fixincludes.
1555         * fixopts.c: New file.
1556         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
1557         to config.h.  Default to --enable-twoprocess for MinGW32.
1558         * config.h.in: Regenerate.
1559         * configure: Regenerate.
1561 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1563         * tests/base/sys/cdefs.h: Update from test area.
1565 2004-09-17  Roger Sayle  <roger@eyesopen.com>
1567         * inclhack.def (linux_ia64_ucontext): New fix.
1568         * fixincl.x: Regenerate.
1569         * tests/base/sys/ucontext.h: New file.
1571 2004-09-15  Roger Sayle  <roger@eyesopen.com>
1573         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
1574         * tests/base/stdlib.h: Likewise.
1576 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
1578         * inclhack.def (freebsd_gcc4_breakage): Add.
1579         * fixincl.x: Regenerate.
1580         * tests/base/sys/cdefs.h: Update for new test.
1582 2004-09-10  Adam Nemet  <anemet@lnxw.com>
1584         * inclhack.def (lynx_void_int): Remove.
1585         (lynxos_fcntl_proto): Remove.
1586         (lynxos_no_warning_in_sys_time_h): New fix.
1587         (lynxos_missing_putenv): New fix.
1588         * fixincl.x: Regenerate.
1589         * tests/base/fcntl.h: Remove.
1590         * tests/base/sys/time.h: Update from test area.
1591         * tests/base/curses.h: Likewise.
1592         * tests/base/stdlib.h: Likewise.
1594 2004-09-03  Jan Beulich  <jbeulich@novell.com>
1596         * inclhack.def: Suppress exception_structure and math_exception
1597         for NetWare headers.
1598         * fixincl.x: Regenerate.
1600 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
1602         * .cvsignore: New.
1603         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
1604         autoconfiscated.
1605         * configure.ac: New.
1606         * config.h.in: Generate.
1607         * configure: Generate.
1608         * aclocal.m4: New.
1609         * fixlib.h: Remove inclusions of gcc files.
1610         * system.h: New.
1612         Other files copied from gcc/fixinc.